Prev: 6980 Up: Map Next: 6998
6991: Clear Pixels
Used by the routines at UpdateRadar and FlashPlayerMarker.
Clears a block of pixels. Writes the opcode operand for 86 (which makes PlotPixels_Column reset a bit) to 69A7, then continues at PlotPixels.
Input
B Height of the block in pixels
C Width of the block in pixels
HL Pixel co-ordinates of the bottom left of the block (H is the Y position and L is the X position)
ClearPixels 6991 LD A,$86 Write 86 to 69A7.
6993 LD ($69A7),A
6996 JR PlotPixels Jump to PlotPixels.
Prev: 6980 Up: Map Next: 6998