Prev: AE9C Up: Map Next: B14F
B130: Colour in the screen with attributes
Used by the routine at AE9C.
Input
H Column
L Row
B130 PUSH HL
B131 PUSH BC
B132 PUSH AF
B133 LD E,L
B134 LD A,H
B135 LD HL,$5800
B138 AND A
B139 JR Z,$B144
B13B LD HL,$5820
B13E DEC A
B13F JR Z,$B144
B141 LD HL,$5840
B144 LD D,$00
B146 ADD HL,DE
B147 POP AF
B148 LD (HL),A
B149 INC HL
B14A DJNZ $B148
B14C POP BC
B14D POP HL
B14E RET
Prev: AE9C Up: Map Next: B14F