Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
436B

  1. PC ORG @ 0x1e + ! ( chkPS )
  2. ( Note that you only need to call this in words that push
  3. back to PSP. If they don't, calling chkPS is redundant with
  4. check in next )
  5. EXX,
  6. ( We have the return address for this very call on the stack
  7. and protected registers. 2 - is to compensate that. )
  8. HL PS_ADDR 2 - LDddnn,
  9. SP SUBHLss,
  10. EXX,
  11. CNC RETcc, ( PS_ADDR >= SP? good )
  12. JR, L2 BWR ( abortUnderflow-B298 )