Prev: 9163 Up: Map Next: 9194
918D: Handler: Paint Header And Footer
Used by the routine at PaintHeaderFooter.
Input
A Attribute value to write
HL Screen buffer address
Handler_PaintHeaderFooter 918D LD B,$60 Set a counter in B for 03 whole lines.
Handler_PaintHeaderFooter_Loop 918F LD (HL),A Write the attribute byte to *HL.
9190 INC HL Increment HL by one.
9191 DJNZ Handler_PaintHeaderFooter_Loop Decrease the counter by one and loop back to Handler_PaintHeaderFooter_Loop until the counter is zero.
9193 RET Return.
Prev: 9163 Up: Map Next: 9194