![]() |
Routines |
| Prev: C048 | Up: Map | Next: C0A4 |
|
Used by the routine at ReadKey.
Stores ENTER. An empty line reprints the prompt; otherwise the line is parsed from the first character.
|
||||
| ParseLine | C091 | LD (HL),A | Store ENTER and call PrintCharacter to echo it. | |
| C092 | CALL $6394 | |||
| C095 | XOR A | Clear *Verb. | ||
| C096 | LD ($5B7F),A | |||
| C099 | LD HL,$5B00 | Point HL at CommandBuffer and fetch the first character. | ||
| C09C | LD A,(HL) | |||
| C09D | CP $0D | Jump to PrintPrompt if the line is empty. | ||
| C09F | JP Z,PrintPrompt | |||
| C0A2 | JR ParseWord_Copy | Jump to ParseWord_Copy. | ||
| Prev: C048 | Up: Map | Next: C0A4 |