Prev: BD51 Up: Map Next: BD69
BD55: Read The Record Flag
Used by the routine at SetObjectTablePointer.
Scans the objects until the flag byte is FF checking each one against the moved marker.
ScanObjectsUntilEndMarker BD55 LD A,(IX+$00) Jump to ScanObjectsUntilEndMarker_Next if the record's flag byte is FF.
BD58 CP $FF
BD5A JR Z,ScanObjectsUntilEndMarker_Next
BD5C CALL SeeWhetherItMatchesMovedMarker Go to ScanObjectsUntilEndMarker_0 if the object matches the moved marker.
BD5F JR Z,ScanObjectsUntilEndMarker_0
BD61 CALL AdvancePointerAndCheckBit Read the next object and try again from ScanObjectsUntilEndMarker.
BD64 JR ScanObjectsUntilEndMarker
ScanObjectsUntilEndMarker_Next BD66 OR %00000001 Reset the zero flag.
ScanObjectsUntilEndMarker_0 BD68 RET Return.
Prev: BD51 Up: Map Next: BD69