| The Hobbit (v1.0) | Routines |
| Prev: 6E71 | Up: Map | Next: 6E8E |
|
Rubs out everything typed so far. While B has bit 7 reset (i.e. at least one character has been typed; see 6DCD), it prints a backspace, puts B back up by one and moves HL back one character.
Called for SYMBOL SHIFT + 0 by the line editor, and by 7240 before it types WAIT for an idle player, so that anything half-typed is thrown away and replaced by WAIT.
|
||||||||||
| 6E82 | BIT 7,B | Stop when the line is empty | ||||||||
| 6E84 | RET NZ | Return if the bit is set | ||||||||
| 6E85 | LD A,$08 | Print a backspace | ||||||||
| 6E87 | CALL $7580 | Print the character in A | ||||||||
| 6E8A | INC B | One more character of space; step back in the buffer | ||||||||
| 6E8B | DEC HL | Decrement HL | ||||||||
| 6E8C | JR $6E82 | Continue at Delete the whole input line (6E82) | ||||||||
| Prev: 6E71 | Up: Map | Next: 6E8E |