Mirror of CollapseOS
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

14 行
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.