Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
533B

  1. Z80 boot code
  2. This assembles the boot binary. It requires the Z80 assembler
  3. (B200) and cross compilation setup (B260). It also requires
  4. these constants to be set:
  5. RAMSTART: beginning address of RAM. This is where system
  6. variables are placed. HERE is then placed at RAM+80 (ref B80).
  7. RS_ADDR: to be set to the bottom address of the Return Stack.
  8. PS_ADDR: top address of the Parameter stack (PS grows down-
  9. wards). Allow space for stack underflow protection (B76).
  10. (cont.)