Mirror of CollapseOS
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

17 wiersze
615B

  1. Z80 boot code
  2. This assembles the boot binary. It requires the Z80 assembler
  3. (B200) and cross compilation setup (B260).
  4. On top of that, it requires RAMSTART to be defined as the
  5. beginning address of RAM. This is where system variables are
  6. placed. HERE is then placed at RAM+80 (ref B80).
  7. We also need RS_ADDR to be set to the bottom address of the
  8. Return Stack.
  9. RESERVED REGISTERS: At all times, IX points to RSP TOS and IY
  10. is IP. SP points to PSP TOS, but you can still use the stack\
  11. in native code. you just have to make sure you've restored it
  12. before "next". (cont.)