Prev: 38674 Up: Map Next: 38725
38693: Print command summary in command summary window at bottom of screen
Used by the routines at 30222, 30602, 30880, 31370, 31636, 32035, 32194, 32390, 32655, 33036, 33312, 33593, 33663, 34864, 34883, 34914 and 35141.
Input
DE Points to command text
38693 PUSH DE Store DE
38694 LD A,78 Store 78 (yellow INK, blue PAPER, BRIGHT) at 23695
38696 LD (23695),A ...
38699 LD HL,(36488) Load HL with (video) memory location to start printing character
38702 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
38703 LD DE,(65530) Load DE with new display file address to print character...
38707 LD (36488),DE ...and update printing routine with this location
38711 CALL 36725 Print text at location HL to screen
38714 LD HL,(36488) Load display file address just printed to into HL
38717 LD (65530),HL Store at 65530 (where it was just read from!)
38720 POP HL Restore original memory location that was replaced in printing routine...
38721 LD (36488),HL ...and put it back into the printing routine
38724 RET Return
Prev: 38674 Up: Map Next: 38725