Prev: 27008 Up: Map Next: 27032
27025: Clear Pixels
Used by the routines at UpdateRadar and FlashPlayerMarker.
Clears a block of pixels. Writes the opcode operand for 134 (which makes PlotPixels_Column reset a bit) to 27047, 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 27025 LD A,134 Write 134 to 27047.
27027 LD (27047),A
27030 JR PlotPixels Jump to PlotPixels.
Prev: 27008 Up: Map Next: 27032