Prev: 74C2 Up: Map Next: 74D3
74C3: Print Footer Colour String
Used by the routines at PrintDemoMode, GameOver, 763C, 76D7, 77E0 and DisplayInstructions.
Input
A Attribute
HL Address of the string
Given an attribute value and a pointer to a string of 20 bytes, this routine will print a string to the footer of the screen buffer using the given attribute colour.
PrintFooterColourString 74C3 LD B,$20 B=20 (counter of number of characters in a row).
74C5 LD DE,$5AE0 DE=5AE0 (footer attribute buffer location).
PrintColourString_Loop 74C8 LD (DE),A Write A to *DE.
74C9 INC E Increment E by one.
74CA DJNZ PrintColourString_Loop Decrease counter by one and loop back to PrintColourString_Loop until counter is zero.
74CC LD B,$20 B=20 (counter of number of characters in string).
74CE EXX Switch to the shadow registers.
74CF LD DE,$50E0 DE'=50E0 (footer screen buffer location).
74D2 EXX Switch back to the normal registers.
Continue on to Print_Loop.
Prev: 74C2 Up: Map Next: 74D3