Prev: EAC4 Up: Map Next: EB06
EAF1: Fill the wall with an attribute
Used by the routine at EAC4.
Input
D Value to fill
EAF1 LD HL,$5960
EAF4 LD BC,$0140
EAF7 LD A,(HL)
EAF8 AND $38
EAFA CP $00
EAFC JR Z,$EAFF
EAFE LD (HL),D
EAFF INC HL
EB00 DEC BC
EB01 LD A,B
EB02 OR C
EB03 JR NZ,$EAF7
EB05 RET
Prev: EAC4 Up: Map Next: EB06