Prev: 62050 Up: Map Next: 62068
62056: Code sheet - print code message/character on screen
Used by the routines at 62102, 62201 and 62288.
request for code input
62056 EX (SP),HL HL now points to the character(s) to print on screen, e.g. 62122
Print character:
62057 LD A,(HL) Get character from message string
62058 INC HL ...and move address pointer on to the next letter
62059 CP 255 Check for end-of-text marker
62061 JR Z,62066 If reached, stop printing
62063 RST 16 Otherwise print the character
62064 JR 62057 Repeat until all message characters printed
62066 EX (SP),HL ...Then swap the message address pointer back onto the stack
62067 RET
Prev: 62050 Up: Map Next: 62068