Prev: 28239 Up: Map Next: 28311
28299: Input: Rub Out Characters
Used by the routines at ReadTheInputLine and Input_WaitForAKey.
Prints backspaces and steps back through the input buffer until the count runs out.
Input_RubOutCharacters 28299 BIT 7,B Return if bit 7 of the free-space count in B is set.
28301 RET NZ
Print character 8.
28302 LD A,8 Print a backspace.
28304 CALL Print_Character
28307 INC B One more byte of the line is free.
28308 DEC HL Step back one byte through 28665.
28309 JR Input_RubOutCharacters Jump back to Input_RubOutCharacters to rub out another character.
View the equivalent code in;
Prev: 28239 Up: Map Next: 28311