Prev: 38455 Up: Map Next: 38545
38528: Print a message
Used by the routines at 34499, 34762, 35090, 35245 and 35914.
Input
IX Address of the message
C Length of the message
DE Display file address
38528 LD A,(IX+0) Collect a character from the message
38531 CALL 38545 Print it
38534 INC IX Point IX at the next character in the message
38536 INC E Point DE at the next character cell (subtracting 8 from D compensates for the operations performed by the routine at 38545)
38537 LD A,D
38538 SUB 8
38540 LD D,A
38541 DEC C Have we printed the entire message yet?
38542 JR NZ,38528 If not, jump back to print the next character
38544 RET
Prev: 38455 Up: Map Next: 38545