Prev: D897 Up: Map Next: D8AD
D898: Read Command Line
Used by the routine at ParseInput.
Prints the input prompt and stores the typed command in the line buffer at 5B00.
ReadCommandLine D898 LD HL,$0BB8 Point the object attribute at the prompt token 0BB8.
D89B LD ($A03B),HL
D89E LD A,$01 Set the print mode to 01 and call ReadCommandLine_CommandLinePrints.
D8A0 LD ($A027),A
D8A3 CALL ReadCommandLine_CommandLinePrints
D8A6 PUSH AF Start the input from zero and store it in the print mode.
D8A7 XOR A
D8A8 LD ($A027),A
D8AB POP AF Restore AF from the stack.
D8AC RET Return.
Prev: D897 Up: Map Next: D8AD