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
692B

  1. Z80 boot code
  2. This assembles the boot binary. It requires the Z80 assembler
  3. (B200) and cross compilation setup (B260). It requires some
  4. constants to be set. See B420 for details.
  5. RESERVED REGISTERS: At all times, IX points to RSP TOS and BC
  6. is IP. SP points to PSP TOS, but you can still use the stack
  7. in native code. you just have to make sure you've restored it
  8. before "next".
  9. STABLE ABI: The boot binary starts with a list of references.
  10. The address of these references have to stay to those addr-
  11. esses. The rest of the Collapse OS code depend on it. In fact,
  12. up until 0x67, the (?br) wordref, pretty much everything has
  13. to stay put. (cont.)