Prev: 807A Up: Map Next: 809A
8093: Clear the play area, leaving the status panel alone
Used by the routines at GAME_OVER, ENTER_ROOM and TRAPDOOR_FALL.
Blanks the 24 character columns the castle is drawn in and stops there, so the parchment scroll down the right-hand side -- score, time, lives and the inventory -- survives untouched and does not have to be redrawn on every room change.
Verified by running it against a live room and reading the display file back: columns 0-23 came back all zero, columns 24-31 unchanged.
CLEAR_PLAY_AREA 8093 LD HL,$4000 24 bytes across, 192 display-file rows -- the whole height of the screen, but only three quarters of its width.
8096 LD BC,$18C0
8099 XOR A The fill byte. Blank here, but the shared entry below takes whatever is in A.
Prev: 807A Up: Map Next: 809A