Mirror of CollapseOS
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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.)