Prev: CAD1 Up: Map Next: CB15
CB03: Print a message
Characters are offsets from the character set at 813B (ie: ASCII - 20h)
or FE = end of message, FF = newline
Input
IX Pointer to the text buffer
CB03 LD A,(IX+$00) Get the next line.
CB06 CP $FE Is it the end of the message?
CB08 RET Z Return if so.
CB09 CP $FF Is it a new line?
CB0B CALL Z,$CB15 Print one if so.
CB0E CALL NZ,$CB35 Otherwise print the line.
CB11 INC IX Move to the next data and repeat.
CB13 JR $CB03
Prev: CAD1 Up: Map Next: CB15