Prev: 7126 Up: Map Next: 7140
7134: Display string (with colour) on the screen.
Calculates the start location in the DISPLAY/ATTRIBUTE files for writing the string, then executes WriteAsciiChars, which writes each individual character to the screen.
Input
DE Text data block (expects first byte to be a colour attr).
HL Screen address for writing the text.
Output
A' Colour attribute for the text.
DE' Address to the ASCII characters for displaying.
HL' Screen address of next location.
HL Attribute file address of next location.
7134 push hl Preserve display file address
7135 call $72d0 HL=coord to screen address (using HL)
7138 ld a,(de) A'=colour attribute
7139 ex af,af'
713a inc de DE=next colour attribute
713b exx
713c pop hl Set HL back to screen address
713d call $71d6 HL=coord to attribute file address (using HL)
Prev: 7126 Up: Map Next: 7140