Prev: 26863 Up: Map Next: 26908
26868: Print stuff to screen
Used by the routine at DESC_LOCATION.
PRINT_TO_SCREEN 26868 CALL LOOKUP_SYSMSG
This entry point is used by the routine at DESC_LIT_LOC.
PRINT_TO_SCREEN_0 26871 PUSH HL
26872 CALL 3435 Clear the screen
26875 CALL OPEN_SCREEN_CHANNEL Open the screen channel
26878 POP HL
This entry point is used by the routines at DESC_LIT_LOC, ACTION_MESSAGE and PRINT_SYSMSG_NEWLINE.
PRINT_TO_SCREEN_1 26879 SET 6,(IY+8) Set flag to display newline after text
This entry point is used by the routines at START, ACTION_INVEN, NEWLINE_WORN, PRINT_SYSMSG and KEYBOARD_HANDLER.
PRINT_TO_SCREEN_2 26883 PUSH HL
26884 CALL 3405 'Temporary Colour items'
26887 POP HL
26888 BIT 7,(IY+8)
26892 JR Z,PRINT_TO_SCREEN_3
26894 LD (IY+82),255 Set scroll counter to 255
PRINT_TO_SCREEN_3 26898 LD A,(HL) A=character to print
26899 CPL Decode character (A=255-A)
26900 CP 31 Have we reached terminator?
26902 JR Z,PRINT_NEWLINE If so, no more to print
26904 RST 16 Print a character
26905 INC HL Onto to next character
26906 JR PRINT_TO_SCREEN_3 Loop to next
Prev: 26863 Up: Map Next: 26908