Prev: 34697 Up: Map Next: 34762
34733: Print text at location HL to screen using full screen width
Used by the routines at 28172 and 54505.
Input
HL Text to print
34733 LD A,(23495) Load A with x-coordinate of right edge of current window to draw (characters)
34736 PUSH AF Store AF (A = x-coordinate of right edge of current window)
34737 LD A,31 Set right-edge x-coordinate value at 23495 to 31...
34739 LD (23495),A ...
34742 LD A,(23493) Load A with x-coordinate of left edge of current window to draw (characters)
34745 PUSH AF Store AF (A = x-coordinate of left edge of current window)
34746 XOR A Set left-edge x-coordinate value at 23493 to zero...
34747 LD (23493),A ...
34750 CALL 34762 Print text at location HL to screen
34753 POP AF Restore x-coordinate of left edge of current window...
34754 LD (23493),A ...to 23493
34757 POP AF Restore x-coordinate of right edge of current window...
34758 LD (23495),A ...to 23495
34761 RET Return
Prev: 34697 Up: Map Next: 34762