Prev: 9E9B Up: Map Next: 9EDC
9ECE: XOR two unshifted bytes: the erase path's plot for a thing on a cell boundary
Where ERASE_JR lands when the thing's x needs no shift: XOR the two bytes onto the screen, which rubs the thing out.
ERASE_UNSHIFTED 9ECE EX DE,HL
9ECF EX (SP),HL
9ED0 LD A,D
9ED1 XOR (HL)
9ED2 LD (HL),A
9ED3 INC L
9ED4 LD A,E
9ED5 XOR (HL)
9ED6 LD (HL),A
9ED7 POP DE
9ED8 DEC L
9ED9 JP SCREEN_ROW_UP
Prev: 9E9B Up: Map Next: 9EDC