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.