Prev: DE51 Up: Map Next: DE63
DE57: Print Message String
Used by the routine at Print_StatusMessages.
Skip A encoded messages at HL (each ends with ]), then print the selected one via Print_EncodedMessage.
Print_MessageString DE57 LD B,A Keep the message index in B.
Skip one encoded message at HL (via Skip_ToMessageMarker) until the selected index remains.
Print_MessageString_SkipOneMessage DE58 CALL Skip_ToMessageMarker Call Skip_ToMessageMarker to advance HL past one encoded message. Step on by one byte. Loop until B messages have been skipped.
DE5B INC HL
DE5C DJNZ Print_MessageString_SkipOneMessage
DE5E DEC HL Step back onto the chosen message's terminator.
DE5F CALL Print_EncodedMessage Call Print_EncodedMessage to print that encoded message.
DE62 RET Return.
Prev: DE51 Up: Map Next: DE63