Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.atari8 » ACTION! plea, once again
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
ACTION! plea, once again [message #283122] Mon, 10 March 1986 08:31 Go to next message
Anonymous
Karma:
Originally posted by: ajb@MITRE.ARPA (Alan Broder)
Article-I.D.: mitre.8603101331.AA19883
Posted: Mon Mar 10 08:31:24 1986
Date-Received: Wed, 12-Mar-86 05:39:35 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The MITRE Corp., Washington, D.C.
Lines: 27

I'm reposting this due to Net problems reported to me by SRI.

I'm trying this request for help one more time. My first request yielded
no responses...
I need to know several things about advanced programming in ACTION! :
 
	1) Is it possible to "chain" ACTION! programs (load in and
	   execute a new program at termination of first program).
 
	2) Is it possible to invoke the ACTION! compiler from within
	   a program. (lets say that I have a source file on disk
	   and I wish to have a program invoke the compiler to 
	   compile the file from disk into memory). All you 
	   probably need is the entry point that the ACTION! monitor
	   calls when you type the "C" command; as well as knowing
	   where this routine expects to find the file name.
 
	3) Is there some magical document that explains the above
	   and other mysteries (e.g. symbol table format ...)
 
Please (!!!!!!) reply with ANY information to me at the following
address.
 
 
		Alan J. Broder
		ajb@mitre.arpa
		(703)883-5614 (office - voice)
Re: ACTION! plea, once again [message #283151 is a reply to message #283122] Fri, 21 March 1986 14:39 Go to previous message
Anonymous
Karma:
Originally posted by: langdon@lll-lcc.UUcp (Bruce Langdon)
Article-I.D.: lll-lcc.201
Posted: Fri Mar 21 14:39:04 1986
Date-Received: Sat, 22-Mar-86 23:22:43 EST
References: <8603101331.AA19883@mitre.ARPA>
Organization: Lawrence Livermore Labs, LCC, Livermore Ca
Lines: 69
Summary: CHAIN.ACT, from OSS

In article <8603101331.AA19883@mitre.ARPA>, ajb@MITRE.ARPA (Alan Broder) writes:

 >  I need to know several things about advanced programming in ACTION! :
 >   
 >  	1) Is it possible to "chain" ACTION! programs (load in and
 >  	   execute a new program at termination of first program).

The following is from the OSS bulletin board, (408) 446-3451.
It may require use of their DOS XL. I haven't tried it.

----------------------------------------------------------------------
	Bruce Langdon  L-472                langdon%lll-lcc@lll-crg.ARPA
	Physics Department                  "langdon#bruce%d"@lll-mfe.ARPA
	Lawrence Livermore National Laboratory       
	Livermore, CA 94550                 (415) 422-5444
UUCP: ..{gymble,ihnp4,seismo}!lll-crg!lll-lcc!langdon
----------------------------------------------------------------------
; Chain - ACTION! program loader
;   by Mark Rose - February, 1985

PROC LoadFile=*( BYTE x )
    CARD goAddr    = $2E2,
         startAddr = $6F0,
         endAddr   = $6F2
    BYTE rtn       = $6F4

  [
    $0A $0A $0A $0A $AA $A9 $60 $8D
    rtn $A9 $80 $8D goAddr $A9 $06
    $8D goAddr+1 $A9 $F0 $A0 4 $9D
    $344 $A9 $06 $9D $345 $98 $9D
    $348 $A9 0 $9D $349 $A9 7 $9D
    $342 $20 $E456 $10 3 $6C goAddr
    $AD startAddr $C9 $FF $D0 23 $4D
    startAddr+1 $D0 18 $AD endAddr
    $8D startAddr $AD endAddr+1 $8D
    startAddr+1 $A9 $F2 $A0 2 $D0 $C4
    $AD endAddr $38 $ED startAddr $9D
    $348 $AD endAddr+1 $ED startAddr+1
    $9D $349 $FE $348 $D0 3 $FE $349
    $AD startAddr $9D $344 $AD
    startAddr+1 $9D $345 $A9 7 $9D
    $342 $20 $E456 $10 $8F $98
    $4C Error
  ]
PROC LoadEnd=*()



PROC Chain( BYTE ARRAY fileName )
    Close( 1 )
    Open( 1, fileName, 4, 0 )
    MoveBlock( $600, LoadFile, LoadEnd-LoadFile )
    LoadFile( 1 )
RETURN

; From your ACTION! program, call the
; procedure Chain with the name of
; the ACTION! program to which you
; want to chain as the parameter.
; For example,
;    Chain( "D:NEXTPROG.COM" )
; would cause "NEXTPROG.COM" to be
; run as a binary file.  The desired
; file MUST have been written to disk
; using the "W" command from the
; ACTION! monitor.

MODULE
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 512K Board etc.
Next Topic: At last! A free Action! Run-Time Library (LONG)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Jul 05 16:04:49 EDT 2020

Total time taken to generate the page: 0.00328 seconds