Mirror of CollapseOS
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

17 рядки
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.)