L O A D a file f r o m disc
D E S C R I P T I O N
This function loads a B A S I C or machine code file.
If the p r o g r a m you wish to load was saved:
a) with the A U T O option (for a B A S I C program)
o r
b) with a transfer address (for a machine code p r o g r a m )
then the p r o g r a m will automatically 'run' as soon as it is loaded.
I N S T R U C T I O N
!LOAD <Filename) [,D] [,N] [,J] [,A<address>]
You will note that there are four options you can specify:
,D - - This will display the start, end and transfer (execution) addresses
in hexadecimal (see S A V E a file).
,N - - If the p r o g r a m was saved with the A U T O option or a transfer
(execution address), this option will prevent it f r o m being automatically
run after loading has taken place.
,A<address> - - W h e n a p r o g r a m is saved, the start and end addresses in
m e m o r y f r o m which it was saved, are filed with the program. If you
want the p r o g r a m to c o m m e n c e loading at a different address from the
start address, you must specify ,A followed by the new start address in
hexadecimal.
,J - - Use this option if you want the p r o g r a m to be joined onto the end
of a p r o g r a m already in m e m o r y . If the p r o g r a m you are loading was
saved with the A U T O option, then once loading has taken place, the
two joined p r o g r a m s will automatically 'run'. Y o u can prevent
automatic 'run' by specifying the ,N option. The ,J option should only
be used with B A S I C programs.
38
RETURN