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.

14 rindas
635B

  1. STABLE ABI: As a compatible binary, this binary follows the
  2. same stable ABI as its z80 counterpart.
  3. PS CHECKS: Unlike z80 boot code, we don't check PS at each next
  4. call (we do check RS though). It is the responsibility of every
  5. native PSP-modifying word to call chkPS, . Also, chkPS, is a
  6. bit different than in z80: it is parametrizable. The idea is
  7. that we always call chkPS, before popping, telling the expected
  8. size of stack. This allows for some interesting optimization.
  9. For example, in SWAP, no need to pop, chkPS, then push, we can
  10. chkPS and then proceed to optimized swapping in PS.
  11. To assemble, load blocks 805 through 820.