Prev: 8106 Up: Map Next: 8121
8117: Drawing: Step Left One Pixel
Used by the routine at DrawingSetup.
Moves the screen address left one pixel, wrapping inside the line.
Drawing_StepLeftOnePixel 8117 PUSH AF Step the screen address back and jump to Drawing_StepLeftOnePixel_RestoreTheLeftStep if it is not in row 57.
8118 DEC HL
8119 LD A,H
811A CP $57
811C JR NZ,Drawing_StepLeftOnePixel_RestoreTheLeftStep
811E INC HL Step HL on.
Drawing_StepLeftOnePixel_RestoreTheLeftStep 811F POP AF Restore AF from the stack.
8120 RET Return.
View the equivalent code in;
Prev: 8106 Up: Map Next: 8121