EasyManua.ls Logo

Atari ST series - Page 399

Atari ST series
420 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ST Memory Map
clouds equal to the exception number. TOS uses the following portion of
the User Interrupt Vector space to save the processor state information
when a crash occurs. This memory area is not cleared by a system reset,
but may be overwritten by subsequent crashes.
proc
__
lives
896-899 ($380-$383)
If the system was able to save the processor state, it sets this variable to
$12345678 as a flag that the following information is valid.
proc
__
dregs
900-931 ($384-$3A3)
The contents of the eight data registers are saved here, starting with DO
and ending with D7.
proc
__
aregs
932-963 ($3A4-$3C3)
The contents of the eight address registers are saved here, starting with AO
and ending with A7. Note that A7 represents the Supervisor Stack Pointer,
not the User Stack Pointer, which is saved in proc__usp, below.
proc__pc
964-967 ($3C4-$3C7)
The first byte of this longword is the exception number that caused the
crash.
proc
__
usp
968-967 ($3C8-$3CB)
The User Stack Pointer is saved here.
proc
__
stk
972-1003 ($3CC-$3DB)
The top 16 words of the supervisor stack are saved here.
Logical Vectors
These vectors are not guaranteed to appear at this location, so to change
them, use the BIOS function Setexec(), with an exception number of
$100-$107.
391