![]() |
Routines |
| Prev: AC39 | Up: Map | Next: AD0B |
|
||||||||||
|
This routine writes 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. | ||||||||
|
Moves down to the next line, but less one byte - so under the first attribute buffer 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 |