![]() |
Routines |
| Prev: 49224 | Up: Map | Next: 49316 |
|
Used by the routine at ReadKey.
Stores ENTER. An empty line reprints the prompt; otherwise the line is parsed from the first character.
|
||||
| ParseLine | 49297 | LD (HL),A | Store ENTER and call PrintCharacter to echo it. | |
| 49298 | CALL 25492 | |||
| 49301 | XOR A | Clear *Verb. | ||
| 49302 | LD (23423),A | |||
| 49305 | LD HL,23296 | Point HL at CommandBuffer and fetch the first character. | ||
| 49308 | LD A,(HL) | |||
| 49309 | CP 13 | Jump to PrintPrompt if the line is empty. | ||
| 49311 | JP Z,PrintPrompt | |||
| 49314 | JR ParseWord_Copy | Jump to ParseWord_Copy. | ||
| Prev: 49224 | Up: Map | Next: 49316 |