Prev: 27042 Up: Map Next: 27079
27056: Process string of text
Input
SP points at start of string data
PROCESS_TEXT_STRING 27056 POP HL
27057 LD A,(HL)
27058 INC HL Point HL at the address after the one this routine was called from
27059 PUSH HL Push HL onto the stack
27060 CP 35 Check for end of string marker ('#')
27062 RET Z End of string marker hit; return to the address on the stack!
27063 CP 22 Check for
27065 JP Z,L27104
27068 CP 16 Check for start of string marker
27070 JP Z,L27117
27073 CALL DRAW_CHARACTER
27076 JP PROCESS_TEXT_STRING Repeat routine until a '#' character is found.
Prev: 27042 Up: Map Next: 27079