Prev: 29890 Up: Map Next: 29907
29891: Print Footer Colour String
Used by the routines at PrintDemoMode, GameOver, 30268, 30423, 30688 and DisplayInstructions.
Input
A Attribute
HL Address of the string
Given an attribute value and a pointer to a string of 32 bytes, this routine will print a string to the footer of the screen buffer using the given attribute colour.
PrintFooterColourString 29891 LD B,32 B=32 (counter of number of characters in a row).
29893 LD DE,23264 DE=23264 (footer attribute buffer location).
PrintColourString_Loop 29896 LD (DE),A Write A to *DE.
29897 INC E Increment E by one.
29898 DJNZ PrintColourString_Loop Decrease counter by one and loop back to PrintColourString_Loop until counter is zero.
29900 LD B,32 B=32 (counter of number of characters in string).
29902 EXX Switch to the shadow registers.
29903 LD DE,20704 DE'=20704 (footer screen buffer location).
29906 EXX Switch back to the normal registers.
Continue on to Print_Loop.
Prev: 29890 Up: Map Next: 29907