Prev: 42833 Up: Map Next: 42865
42843: Print Text At An Offset
Adds the word at offset 1 to the record address, prints the text there through ProcessTextStream, steps the record on two bytes, and returns zero.
Control code 11 in the table at JumpTable_ControlCharacters.
Used by the routine at DispatchTextControlHandler.
PrintTextAtAnOffset 42843 PUSH IX Point HL at this record and read the low byte of the offset.
42845 POP HL
42846 PUSH HL
42847 LD E,(IX+1)
42850 LD D,(IX+2) Read the high byte of the offset.
42853 ADD HL,DE Add the offset and call ProcessTextStream to print the text.
42854 CALL ProcessTextStream
42857 POP IX Restore the record from the stack.
42859 INC IX Step to the next byte of the record.
42861 INC IX Step to the next byte of the record.
42863 XOR A Clear A.
42864 RET Return.
View the equivalent code in;
Prev: 42833 Up: Map Next: 42865