![]() |
Routines |
| Prev: 48785 | Up: Map | Next: 48924 |
|
Used by the routines at CheckBitAndProcess and InspectActionTakenFlag.
Advances the entry with AdvancePointerAndCheckBit and returns zero when InspectActionTakenFlag rejects it. Keeps going while bit 3 of the action flags is clear.
|
||||
|
Advance pointer and check bit.
|
||||
| CheckBitAndProcessEntry | 48904 | CALL AdvancePointerAndCheckBit | Call AdvancePointerAndCheckBit to advance the pointer and test the bit. | |
| CheckBitAndProcessEntry_Loop | 48907 | BIT 3,(IX+3) | See whether bit 3 of it is set, then call InspectActionTakenFlag to run entry with counter. | |
| 48911 | PUSH AF | |||
| 48912 | CALL InspectActionTakenFlag | |||
| 48915 | JR NZ,CheckBitAndProcessEntry_Next | Jump ahead to CheckBitAndProcessEntry_Next when the entry counter is still running. | ||
| 48917 | POP AF | |||
| 48918 | XOR A | Clear A. | ||
| 48919 | RET | Return. | ||
|
Return.
|
||||
| CheckBitAndProcessEntry_Next | 48920 | POP AF | Restore the bit test from the stack. | |
| 48921 | JR Z,CheckBitAndProcessEntry_Loop | Go back to CheckBitAndProcessEntry_Loop if bit 3 is clear. | ||
| 48923 | RET | Return. | ||
| Prev: 48785 | Up: Map | Next: 48924 |