Prev: 42073 Up: Map Next: 42105
42087: 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 42087 PUSH AF Stash the user input keypress on the stack.
42088 CP 13 Jump to UserInputToScreen if "DELETE" was not pressed.
42090 JR NZ,UserInputToScreen
42092 PUSH HL Stash the pointer to the command buffer on the stack.
Print "SPACE<BS>" to delete the letter from the screen.
42093 LD HL,42058 HL=Messaging_SpaceBackspace.
42096 CALL PrintString Call PrintString.
42099 POP HL Restore the pointer to the command buffer from the stack.
UserInputToScreen 42100 POP AF Restore the user input keypress from the stack.
Print the user input keypress to the screen.
42101 CALL PrintCharacter Call PrintCharacter.
42104 RET Return.
Prev: 42073 Up: Map Next: 42105