![]() |
Routines |
| Prev: 41968 | Up: Map | Next: 41985 |
|
Used by the routines at Initialise_Slot_Table, Plot_Target_Slots, Drift_Slot_Table, Move_Slot_Table, Plot_Slot_Table and Draw_Slot_Table.
Sets the pixel at HL and writes A to its attribute byte.
|
||||||||||
| Plot_Pixel | 41970 | RES 7,H | Clear bit 7 of the Y coordinate. | |||||||
| 41972 | PUSH AF | Stash the attribute byte on the stack. | ||||||||
| 41973 | CALL Screen_Address | Call Screen_Address. | ||||||||
| 41976 | LD A,C | Merge the pixel bit mask into the screen byte. | ||||||||
| 41977 | OR (HL) | |||||||||
| 41978 | LD (HL),A | |||||||||
| 41979 | POP AF | Restore the attribute byte from the stack. | ||||||||
| 41980 | LD HL,(61145) | Fetch *Attribute_Address. | ||||||||
| 41983 | LD (HL),A | Write the attribute byte to the attribute address. | ||||||||
| 41984 | RET | Return. | ||||||||
| Prev: 41968 | Up: Map | Next: 41985 |