Mirror of CollapseOS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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