| ← 996B | Map | 9988 → |
997A: Clear the back buffer
|
Zeroes the back buffer, ready for the tile-map render to draw the tile map into it.
|
|||
| clear_backbuffer | 997A | LD HL,BACKBUF_BASE | Start at the back buffer. |
| 997D | LD DE,BACKBUF_BASE+$1 | Zero the seed byte and propagate it through the buffer. | |
| 9980 | LD BC,$17FF | ||
| 9983 | LD (HL),$00 | ||
| 9985 | LDIR | ||
| 9987 | RET | ||
| ← 996B | Map | 9988 → |
