![]() |
Routines |
| Prev: A3F0 | Up: Map | Next: A401 |
|
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 | A3F2 | RES 7,H | Clear bit 7 of the Y coordinate. | |||||||
| A3F4 | PUSH AF | Stash the attribute byte on the stack. | ||||||||
| A3F5 | CALL Screen_Address | Call Screen_Address. | ||||||||
| A3F8 | LD A,C | Merge the pixel bit mask into the screen byte. | ||||||||
| A3F9 | OR (HL) | |||||||||
| A3FA | LD (HL),A | |||||||||
| A3FB | POP AF | Restore the attribute byte from the stack. | ||||||||
| A3FC | LD HL,($EED9) | Fetch *Attribute_Address. | ||||||||
| A3FF | LD (HL),A | Write the attribute byte to the attribute address. | ||||||||
| A400 | RET | Return. | ||||||||
| Prev: A3F0 | Up: Map | Next: A401 |