Prev: C240 Up: Map Next: C267
C249: Handle Backspace Key
Used by the routine at PrintScreenCharacter.
Deletes the character before the cursor, and scrolls the line when the width is 24.
HandleBackspaceKey C249 LD A,$20 Print a space at PrintCharacter, then call SubtractSeven.
C24B CALL PrintCharacter
C24E CALL SubtractSeven
C251 CALL SubtractSeven Call SubtractSeven to subtract seven.
C254 LD A,($C1F4) Go to RecordResultStorageDecorative unless the line width is 24.
C257 INC A
C258 CP $25
C25A JR NZ,RecordResultStorageDecorative
C25C LD L,$FE Call ScrollScreenDown to scroll screen down.
C25E LD C,$07
C260 CALL ScrollScreenDown
C263 LD A,$01 Jump back to RecordResultStorageDecorative to run character input.
C265 JR RecordResultStorageDecorative
Prev: C240 Up: Map Next: C267