Prev: 29832 Up: Map Next: 29897
29870: Print Banner
Used by the routine at CreateWindow.
Prints the "1UP", "HI" and "2UP" labels at the top of the screen.
Before
print-banner-before
After
print-banner-after
Prints "1UP".
PrintBanner 29870 LD HL,24 Set the position of the "1UP" label to 0024.
29873 LD DE,29897 Point DE at 1UP_Text.
29876 CALL PrintStringColour Print the "1UP" label using PrintStringColour.
Prints "HI".
29879 LD HL,120 Set the position of the "HI" label to 0120.
29882 LD DE,29905 Point DE at HI_Text.
29885 CALL PrintStringColour Print the "HI" label using PrintStringColour.
Prints "2UP".
29888 LD HL,216 Set the position of the "2UP" label to 0216.
29891 LD DE,29901 Point DE at 2UP_Text.
29894 JP PrintStringColour Print the "2UP" label using PrintStringColour.
View the equivalent code in;
Prev: 29832 Up: Map Next: 29897