Prev: 33082 Up: Map Next: 33096
33089: Drawing: Advance The High Coordinate
Used by the routines at DrawingSetup and Drawing_PlotTheSelectedPixel.
Advances the high coordinate. When it wraps from 255, it is put back and the routine returns zero.
Drawing_AdvanceTheHighCoordinate 33089 INC D Step the high coordinate on and return unless it wrapped to zero.
33090 RET NZ
33091 DEC D Put the high coordinate back to 255.
33092 LD H,A Keep A in H.
33093 XOR A Set the zero flag.
33094 LD A,H Bring A back from H.
33095 RET Return.
View the equivalent code in;
Prev: 33082 Up: Map Next: 33096