Prev: 9AEB Up: Map Next: 9B2B
9B0C: Erase a graphic on screen
Used by the routine at 9AEB.
Input
A Attribute
C Graphic ID
D Y co-ordinate
E X co-ordinate
9B0C PUSH AF
9B0D CALL $9A73
9B10 LD A,E
9B11 ADD A,L
9B12 LD L,A
9B13 PUSH HL
9B14 CALL $9AAE
9B17 POP HL
9B18 POP AF
9B19 LD B,$08
9B1B PUSH HL
9B1C PUSH DE
9B1D CALL $9ABA
9B20 LD (HL),A
9B21 POP DE
9B22 POP HL
9B23 LD A,(DE)
9B24 XOR (HL)
9B25 LD (HL),A
9B26 INC DE
9B27 INC H
9B28 DJNZ $9B23
9B2A RET
Prev: 9AEB Up: Map Next: 9B2B