Prev: 9D0E Up: Map Next: 9D2F
9D25: Rub out a beam
Used by the routine at draw_beams.
ANDs B bytes along the screen line at HL with the inverse of the pattern C.
Input
HL The screen address
B The length in bytes
C The pattern
erase_flicker_beam 9D25 LD A,C
9D26 CPL
9D27 LD C,A
erase_flicker_beam_0 9D28 LD A,C
9D29 AND (HL)
9D2A LD (HL),A
9D2B INC L
9D2C DJNZ erase_flicker_beam_0
9D2E RET
Prev: 9D0E Up: Map Next: 9D2F