Prev: 44089 Up: Map Next: 44299
44288: Handler: Colourise 2x2
Write an attribute value to four attribute buffer locations.
Input
A The attribute value to write
HL The address in the attribute buffer to begin writing to
Handler_Colour2x2 44288 LD (HL),A Write A to *HL.
Move one byte to the right.
44289 INC L Increment L by one.
44290 LD (HL),A Write A to *HL.
Move down one attribute row, less one byte, so the write sits under the first location.
44291 LD BC,31 HL=HL+0031.
44294 ADD HL,BC
44295 LD (HL),A Write A to *HL.
Move one byte to the right.
44296 INC L Increment L by one.
44297 LD (HL),A Write A to *HL.
44298 RET Return.
Prev: 44089 Up: Map Next: 44299