Mirror of CollapseOS
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

17 rindas
656B

  1. 8086 boot code
  2. Code in the following blocks assemble into a binary that is
  3. suitable to plug into Core words (B350) to achieve a fully
  4. functional Collapse OS. It is structured in a way that is
  5. very similar to Z80 boot code (B280) and requires the same
  6. constants to be pre-declared.
  7. RESERVED REGISTERS: SP is reserved for PSP, BP is for RSP and
  8. DX is for IP. Whenever you use these registers for another
  9. purpose, be sure to protect their initial value. Like with
  10. Z80, you can use SP freely in native code, but you have to make
  11. sure it goes back to its previous level before next is called.
  12. (cont.)