Prev: 42397 Up: Map Next: 42436
42399: Print Text And Handle Control Characters
Input
HL Pointer to text data
PrintTextAndHandleControlCharacters 42399 PUSH BC Stash BC, DE, IX, AF and HL on the stack.
42400 PUSH DE
42401 PUSH IX
42403 PUSH AF
42404 PUSH HL
42405 LD HL,12 HL=0012.
42408 ADD HL,SP HL+=SP.
42409 LD (42397),HL Write HL to *42397.
42412 POP HL Restore HL from the stack.
42413 LD A,(40971) A=*40971.
42416 AND A Jump to PrintTextAndHandleControlCharacters_0 if A is not zero.
42417 JR NZ,PrintTextAndHandleControlCharacters_0
42419 LD (40972),A Write A to *40972.
PrintTextAndHandleControlCharacters_0 42422 CALL ProcessTextStream Call ProcessTextStream.
42425 POP AF Restore AF, IX, DE, BC and HL from the stack.
42426 POP IX
42428 POP DE
42429 POP BC
42430 POP HL
42431 LD SP,(42397) SP=*42397.
This entry point is used by the routine at ProcessTextCommand.
IndirectJump 42435 JP (HL) Jump to *HL.
Prev: 42397 Up: Map Next: 42436