[net.micro.atari] Running a LOAD file from Basic

reid@uwvax.UUCP (06/03/83)

>From abrams@mitre Thu Jun  2 21:32:59 1983
Received:  from mitre by SU-SCORE.ARPA with TCP; Thu 2 Jun 83 19:18:59-PDT
Date:   2 Jun 1983 22:07:42 EDT (Thursday)
From: Marshall Abrams <abrams@mitre>
Subject:  Running a Load file from BASIC
To: info-atari@su-score
Cc: abrams@mitre

In answer to my question, Jeff Goldberg, the author (I think) of the ABC
compiler, has provided me with a way to load a Load file from BASIC. By a Load
file I mean a file loaded from the DOS menu with the L command.

In either immediate mode or from a program execute the following:
     OPEN #1,4,0,"D:FILE.EXT"
     X=USR(5576)
The IOCB must be number one, because this jumps right into the load code in
DUP. If you have the listing of DUP this is obvious (once you see it).

I've never seen reference to this technique before. Of course, if you're using
the BASIC cartridge you can't load a file which uses the top 8K of memory.

I'd be interested in comments and experiences and will forward them back
to the group.