2020-04-22 21:19:12 -04:00
|
|
|
Z80 boot code
|
|
|
|
|
|
|
|
This assembles the boot binary. It requires the Z80 assembler
|
2020-05-11 21:08:24 -04:00
|
|
|
(B200) and cross compilation setup (B260). It also requires
|
|
|
|
these constants to be set:
|
2020-04-22 21:19:12 -04:00
|
|
|
|
2020-06-28 18:49:30 -04:00
|
|
|
SYSVARS: This is where system variables are placed. HERE is
|
|
|
|
then placed at SYSVARS+0x80 (ref B80).
|
2020-04-22 21:19:12 -04:00
|
|
|
|
2020-05-11 21:08:24 -04:00
|
|
|
RS_ADDR: to be set to the bottom address of the Return Stack.
|
2020-04-22 21:19:12 -04:00
|
|
|
|
2020-05-11 21:08:24 -04:00
|
|
|
PS_ADDR: top address of the Parameter stack (PS grows down-
|
|
|
|
wards). Allow space for stack underflow protection (B76).
|
|
|
|
|
|
|
|
|
|
|
|
(cont.)
|