mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 22:38:06 +11:00
3068b58be5
It's more descriptive this way. Also, I'll soon add a new HERESTART config.
17 lines
512 B
Plaintext
17 lines
512 B
Plaintext
Z80 boot code
|
|
|
|
This assembles the boot binary. It requires the Z80 assembler
|
|
(B200) and cross compilation setup (B260). It also requires
|
|
these constants to be set:
|
|
|
|
SYSVARS: This is where system variables are placed. HERE is
|
|
then placed at SYSVARS+0x80 (ref B80).
|
|
|
|
RS_ADDR: to be set to the bottom address of the Return Stack.
|
|
|
|
PS_ADDR: top address of the Parameter stack (PS grows down-
|
|
wards). Allow space for stack underflow protection (B76).
|
|
|
|
|
|
(cont.)
|