![]() |
Routines |
| Prev: C6BE | Up: Map | Next: C763 |
|
Used by the routines at TestLowBitsOfCharacter and TestLowBitsOfGraphics.
Looks the object up and folds its attribute into the two-bit count.
|
||||
| ReadObjectAttribute_LooksObjectFolds | C74E | LD A,C | Call FetchObjectDataPointer to look up that object. | |
| C74F | CALL FetchObjectDataPointer | |||
| C752 | LD C,(IX+$05) | Read the object's attribute into C. | ||
| C755 | LD A,B | Shift B down by two bits, keep the low two, put L in D and call ReadHighByteSource. | ||
| C756 | RRCA | |||
| C757 | RRCA | |||
| C758 | AND $03 | |||
| C75A | LD D,L | |||
| C75B | CALL ReadHighByteSource | |||
| C75E | RET Z | Return if the source test returns zero. | ||
| C75F | LD A,B | Keep the bits in 03. | ||
| C760 | AND $03 | |||
| C762 | LD D,H | |||
| Prev: C6BE | Up: Map | Next: C763 |