Prev: 37219 Up: Map Next: 37268
37261: Handler: Paint Header And Footer
Used by the routine at PaintHeaderFooter.
Input
A Attribute value to write
HL Screen buffer address
Handler_PaintHeaderFooter 37261 LD B,96 Set a counter in B for 3 whole lines.
Handler_PaintHeaderFooter_Loop 37263 LD (HL),A Write the attribute byte to *HL.
37264 INC HL Increment HL by one.
37265 DJNZ Handler_PaintHeaderFooter_Loop Decrease the counter by one and loop back to Handler_PaintHeaderFooter_Loop until the counter is zero.
37267 RET Return.
Prev: 37219 Up: Map Next: 37268