Prev: 9D2F Up: Map Next: 9D43
9D30: Draw a beam
Used by the routine at draw_beams.
Called by draw_beams. Records the beam in the four bytes at IY (flicker_beam_records) -- HL the screen address, B the length in bytes, C the pattern -- and ORs C into B bytes along the screen line from HL.
draw_flicker_beam 9D30 LD (IY+$00),L Record it; OR the pattern along the line
9D33 LD (IY+$01),H
9D36 LD (IY+$02),B
9D39 LD (IY+$03),C
draw_flicker_beam_0 9D3C LD A,C
9D3D OR (HL)
9D3E LD (HL),A
9D3F INC L
9D40 DJNZ draw_flicker_beam_0
9D42 RET
Prev: 9D2F Up: Map Next: 9D43