Prev: 54266 Up: Map Next: 54322
54283: Print text at DE (command summary) in command summary window at top of screen
Used by the routines at 29330, 29619, 29756, 30145, 30686, 31041, 31688, 32252, 32895, 33926 and 54322.
Input
DE Points to command text
54283 PUSH DE Store DE (pointer to command text to print)
54284 LD A,70 Store 70 (yellow INK, black PAPER, BRIGHT) at 23695...
54286 LD (23695),A ...
54289 LD HL,(54110) Load HL with address of bitmap virtual text cursor
54292 EX (SP),HL Swap registers
At this point, HL points to text to be printed, and (SP), i.e. PUSHed value, contains display file address to start printing character
54293 LD DE,(23703) Load DE with new display file address to print character...
54297 LD (54110),DE ...and update bitmap virtual text cursor with this location
54301 PUSH HL Store HL (pointer to text to be printed)
54302 CALL 54377 Swap x- and y-coordinates of current window with those of command summary window in temporary storage at 23426
54305 POP HL Restore HL (pointer to text to be printed)
54306 CALL 34762 Print text to screen
54309 CALL 54377 Restore x- and y-coordinates of current window from temporary storage at 23426
54312 LD HL,(54110) Load HL with new address in bitmap virtual text cursor (i.e. after text just printed)...
54315 LD (23703),HL ...and store back at 23703
54318 POP HL Restore HL (display file address to start printing character as swapped by instruction at 54292)
54319 JP 54188 Store the updated address of bitmap virtual text cursor and return
Prev: 54266 Up: Map Next: 54322