Mirror of CollapseOS
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  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.)