Download Print this page

Atari 400 Technical Reference Manual page 146

Home computer system
Hide thumbs Also See for 400:

Advertisement

T'estaT't entrtj for the booted application.
If the
booted software is not to take control, then
DOSVEC should remain unchanged.
LDA
STA
LDA
STA
#RESTRT
DOSVEC
#RESTRT/256
DOSVEC+l
RESTART LSB.
6. JSR indirectltj through DOSINI for initialization of the
application; the application will initialize and return.
NOTE: The OS enters the initialization point on evertj
system reset and power-up.
Internal initialization can take
place during stjstem reset and power-up as well.
Initialization
can also be deferred until Step 7 for controlling
applications.
7. JMP indirectly through DOSVEC to transfer control to the
app
I
ication.
NOTE:
PreSSing the [SYSTEM. RESET] key after the application
is fully booted will cause steps
6
and 7 to be repeated.
Sample Diskette-Bootable Program Listing
This skeletal program can be booted from the diskette.
It retains
control when it is entered.
;
THIS IS THE START OF THE PROGRAM FILE.
PST=
$0700
(OR SOME OTHER LOCATION>'
*=
PST
<. ORG)'
THIS IS THE diskette-boot CONTROL INFORMATION.
· BYTE
0
· BYTE
PND-PST+127/128
NUMBER OF RECORDS.
· WORD
PST
MEMORY ADDRESS TO START LOAD.
· WORD
PINIT
PROGRAM INIT.
OPERATING SYSTEM C016555 -- Section 10
161

Hide quick links:

Advertisement

loading

This manual is also suitable for:

800