Prev: 44089 Up: Map Next: 44299
44288: Handler: Colourise 2x2
Used by the routines at 40668, 43945, 44322 and 44342.
Input
A The attribute value to write
HL The address in the attribute buffer to begin writing to
This routine writes an attribute value to four attribute buffer locations.
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.
Moves down to the next line, but less one byte - so under the first attribute buffer 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