Prev: BE91 Up: Map Next: BF1C
BF08: Check Bit And Process Entry
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 BF08 CALL AdvancePointerAndCheckBit Call AdvancePointerAndCheckBit to advance the pointer and test the bit.
CheckBitAndProcessEntry_Loop BF0B BIT 3,(IX+$03) See whether bit 3 of it is set, then call InspectActionTakenFlag to run entry with counter.
BF0F PUSH AF
BF10 CALL InspectActionTakenFlag
BF13 JR NZ,CheckBitAndProcessEntry_Next Jump ahead to CheckBitAndProcessEntry_Next when the entry counter is still running.
BF15 POP AF
BF16 XOR A Clear A.
BF17 RET Return.
Return.
CheckBitAndProcessEntry_Next BF18 POP AF Restore the bit test from the stack.
BF19 JR Z,CheckBitAndProcessEntry_Loop Go back to CheckBitAndProcessEntry_Loop if bit 3 is clear.
BF1B RET Return.
Prev: BE91 Up: Map Next: BF1C