Prev: 33047 Up: Map Next: 33067
33057: Drawing: Step Right One Pixel
Used by the routine at DrawingSetup.
Moves the screen address right one pixel, wrapping inside the line.
Drawing_StepRightOnePixel 33057 PUSH AF Step the screen address on and jump to Drawing_StepRightOnePixel_RestoreTheRightStep if it has not reached row 90.
33058 INC HL
33059 LD A,H
33060 CP 90
33062 JR NZ,Drawing_StepRightOnePixel_RestoreTheRightStep
33064 DEC HL Step the screen address back one byte.
Drawing_StepRightOnePixel_RestoreTheRightStep 33065 POP AF Restore AF from the stack.
33066 RET Return.
View the equivalent code in;
Prev: 33047 Up: Map Next: 33067