Prev: 50878 Up: Map Next: 51043
51022: Read The Object Attribute
Used by the routines at TestLowBitsOfCharacter and TestLowBitsOfGraphics.
Looks the object up and folds its attribute into the two-bit count.
ReadObjectAttribute_LooksObjectFolds 51022 LD A,C Call FetchObjectDataPointer to look up that object.
51023 CALL FetchObjectDataPointer
51026 LD C,(IX+5) Read the object's attribute into C.
51029 LD A,B Shift B down by two bits, keep the low two, put L in D and call ReadHighByteSource.
51030 RRCA
51031 RRCA
51032 AND 3
51034 LD D,L
51035 CALL ReadHighByteSource
51038 RET Z Return if the source test returns zero.
51039 LD A,B Keep the bits in 3.
51040 AND 3
51042 LD D,H
Prev: 50878 Up: Map Next: 51043