Prev: 46837 Up: Map Next: 46902
46873: Print text at location HL to screen using full screen width
Used by the routines at 39578 and 63598.
Input
HL Text to print
46873 LD A,(23410) Load A with x-coordinate of right edge of current window to draw (characters)
46876 PUSH AF Store AF (A = x-coordinate of right edge of current window)
46877 LD A,31 Set right-edge x-coordinate value at 23410 to 31...
46879 LD (23410),A ...
46882 LD A,(23408) Load A with x-coordinate of left edge of current window to draw (characters)
46885 PUSH AF Store AF (A = x-coordinate of left edge of current window)
46886 XOR A Set left-edge x-coordinate value at 23408 to zero...
46887 LD (23408),A ...
46890 CALL 46902 Print text at location HL to screen
46893 POP AF Restore x-coordinate of left edge of current window...
46894 LD (23408),A ...to 23408
46897 POP AF Restore x-coordinate of right edge of current window...
46898 LD (23410),A ...to 23410
46901 RET Return
Prev: 46837 Up: Map Next: 46902