Prev: BE5A Up: Map Next: BF08
BE72: Process Entry With Counter
ProcessEntryWithCounter BE72 PUSH AF
BE73 LD B,$00
ProcessEntryWithCounter_0 BE75 LD C,(IX+$03)
BE78 CALL AdvancePointerAndCheckBit
BE7B BIT 3,C
BE7D JR Z,ProcessEntryWithCounter_1
BE7F LD A,B
BE80 AND A
BE81 JR Z,ProcessEntryWithCounter_1
BE83 DEC B
ProcessEntryWithCounter_1 BE84 BIT 2,C
BE86 JR Z,ProcessEntryWithCounter_2
BE88 INC B
BE89 JR ProcessEntryWithCounter_0
ProcessEntryWithCounter_2 BE8B LD A,B
BE8C AND A
BE8D JR NZ,ProcessEntryWithCounter_0
BE8F POP AF
BE90 RET
This entry point is used by the routine at CheckBitAndProcessEntry.
ProcessEntryWithCounter_3 BE91 BIT 1,(IX+$03)
BE95 JR NZ,ProcessEntryWithCounter
BE97 LD A,(IX+$03)
BE9A AND $C0
BE9C CP $00
BE9E JR NZ,ProcessEntryWithCounter_5
BEA0 LD A,(IX+$00)
BEA3 PUSH IX
BEA5 CALL FetchObjectDataPointer
BEA8 BIT 7,(IX+$06)
BEAC POP IX
BEAE JR Z,ProcessEntryWithCounter
BEB0 LD A,(IX+$02)
BEB3 PUSH IX
BEB5 CALL FetchObjectDataPointer
BEB8 BIT 7,(IX+$06)
BEBC POP IX
BEBE JR Z,ProcessEntryWithCounter
ProcessEntryWithCounter_4 BEC0 SET 1,(IX+$03)
BEC4 RES 0,(IX+$03)
BEC8 OR $01
BECA JP ProcessEntryWithCounter
ProcessEntryWithCounter_5 BECD CP $80
BECF JR Z,ProcessEntryWithCounter
BED1 CP $40
BED3 JR NZ,ProcessEntryWithCounter_6
BED5 LD A,(IX+$00)
BED8 PUSH IX
BEDA CALL FetchObjectDataPointer
BEDD BIT 6,(IX+$06)
BEE1 POP IX
BEE3 JR Z,ProcessEntryWithCounter
BEE5 LD A,(IX+$02)
BEE8 PUSH IX
BEEA CALL FetchObjectDataPointer
BEED BIT 6,(IX+$06)
BEF1 POP IX
BEF3 JP Z,ProcessEntryWithCounter
ProcessEntryWithCounter_6 BEF6 BIT 2,(IX+$03)
BEFA JR Z,ProcessEntryWithCounter_4
BEFC PUSH IX
BEFE CALL CheckBitAndProcessEntry
BF01 POP IX
BF03 JR NZ,ProcessEntryWithCounter_4
BF05 JP ProcessEntryWithCounter
Prev: BE5A Up: Map Next: BF08