Mirror of CollapseOS
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

17 satır
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.)