![]() |
Routines |
| Prev: AC39 | Up: Map | Next: AD0B |
|
Write an attribute value to four attribute buffer locations.
|
||||||||||
| Handler_Colour2x2 | AD00 | LD (HL),A | Write A to *HL. | |||||||
|
Move one byte to the right.
|
||||||||||
| AD01 | INC L | Increment L by one. | ||||||||
| AD02 | LD (HL),A | Write A to *HL. | ||||||||
|
Move down one attribute row, less one byte, so the write sits under the first location.
|
||||||||||
| AD03 | LD BC,$001F | HL=HL+001F. | ||||||||
| AD06 | ADD HL,BC | |||||||||
| AD07 | LD (HL),A | Write A to *HL. | ||||||||
|
Move one byte to the right.
|
||||||||||
| AD08 | INC L | Increment L by one. | ||||||||
| AD09 | LD (HL),A | Write A to *HL. | ||||||||
| AD0A | RET | Return. | ||||||||
| Prev: AC39 | Up: Map | Next: AD0B |