Prev: A459 Up: Map Next: A479
A467: Print User Input To Screen
Used by the routine at Handler_UserInput.
Input
A User input keypress
HL Pointer to the command buffer
Print_UserInputToScreen A467 PUSH AF Stash the user input keypress on the stack.
A468 CP $0D Jump to UserInputToScreen if "DELETE" was not pressed.
A46A JR NZ,UserInputToScreen
A46C PUSH HL Stash the pointer to the command buffer on the stack.
Print "SPACE<BS>" to delete the letter from the screen.
A46D LD HL,$A44A HL=Messaging_SpaceBackspace.
A470 CALL PrintString Call PrintString.
A473 POP HL Restore the pointer to the command buffer from the stack.
UserInputToScreen A474 POP AF Restore the user input keypress from the stack.
Print the user input keypress to the screen.
A475 CALL PrintCharacter Call PrintCharacter.
A478 RET Return.
Prev: A459 Up: Map Next: A479