Prev: 31647 Up: Map Next: 31658
31653: Clear screen byte but leave pixel
Clears the screen byte containing the screen pixel at x,y, leaving the indicated pixel on if it's already on, or off if it's already off.
This is the entry in the jump table handled by the routine at 32374 when that code is called with A=3
Input
B ypos
C xpos
pixel_clearbyte 31653 CALL pxy2saddr pxy2saddr of B=ypos, C=xpos, returns with screen location in HL and the pixel within the byte in A
31656 AND (HL) Clear byte except the indicated pixel which is left
31657 RET
Prev: 31647 Up: Map Next: 31658