Prev: ACD8 Up: Map Next: ACFB
ACE6: 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 ACE6 PUSH AF Stash the user input keypress on the stack.
ACE7 CP $0D Jump to UserInputToScreen if "DELETE" was not pressed.
ACE9 JR NZ,UserInputToScreen
ACEB PUSH HL Stash the pointer to the command buffer on the stack.
Print "SPACE<BS>" to delete the letter from the screen.
ACEC LD HL,$ACC9 HL=Messaging_SpaceBackspace.
ACEF CALL PrintString Call PrintString.
ACF2 POP HL Restore the pointer to the command buffer from the stack.
UserInputToScreen ACF3 POP AF Restore the user input keypress from the stack.
ACF4 CALL SwitchNormalScreenOutput Call SwitchNormalScreenOutput.
Print the user input keypress to the screen.
ACF7 CALL PrintCharacter Call PrintCharacter.
ACFA RET Return.
Prev: ACD8 Up: Map Next: ACFB