Prev: 813A Up: Map Next: 8148
8141: Move the point right one, if it can
Used by the routines at FLOOD_FILL and DRAW_LINE.
x is a whole byte, so the only edge is the wrap to zero.
INC_X 8141 INC D Right one; fine unless it wrapped to 0
8142 RET NZ
8143 DEC D Wrapped: undo it, bit 0 of A clear
8144 LD H,A
8145 XOR A
8146 LD A,H
8147 RET
Prev: 813A Up: Map Next: 8148