Prev: 33089 Up: Map Next: 33105
33096: Drawing: Retreat The High Coordinate
Used by the routines at DrawingSetup and Drawing_PlotTheSelectedPixel.
Retreats the high coordinate. When it was already zero, it is put back and one step is counted.
Drawing_RetreatTheHighCoordinate 33096 DEC D Step the high coordinate back and return unless it wrapped to 255.
33097 LD H,A
33098 LD A,D
33099 CP 255
33101 LD A,H
33102 RET NZ
33103 INC D Put the high coordinate back to 0.
33104 RET Return.
View the equivalent code in;
Prev: 33089 Up: Map Next: 33105