![]() |
Routines |
| Prev: B53D | Up: Map | Next: B589 |
|
Used by the routine at GameInitialisation.
Prints the score labels "1UP", "HI" and "2UP" at the top of the screen.
|
||||||||
|
Prints "1UP".
|
||||||||
| PrintBanner | B563 | LD HL,$0010 | Set the position of the "1UP" label in HL (the Y position is 00 and the X position is 10). | |||||
| B566 | LD DE,$B57E | Point DE at the "1UP" label at 1UP_Text. | ||||||
| B569 | CALL PrintStringColour | Print the "1UP" label. | ||||||
|
Prints "HI".
|
||||||||
| B56C | LD HL,$0078 | Set the position of the "HI" label in HL (the Y position is 00 and the X position is 78). | ||||||
| B56F | LD DE,$B586 | Point DE at the "HI" label at HI_Text. | ||||||
| B572 | CALL PrintStringColour | Print the "HI" label. | ||||||
|
Prints "2UP".
|
||||||||
| B575 | LD HL,$00D8 | Set the position of the "2UP" label in HL (the Y position is 00 and the X position is D8). | ||||||
| B578 | LD DE,$B582 | Point DE at the "2UP" label at 2UP_Text. | ||||||
| B57B | JP PrintStringColour | Print the "2UP" label. | ||||||
|
Banner text data.
|
||||||||
| 1UP_Text | B57E | DEFM $45 | "1UP" (INK:CYAN, PAPER:BLACK (BRIGHT) is the attribute). | |||||
| B57F | DEFM "1U","P"+$80 | |||||||
| 2UP_Text | B582 | DEFM $45 | "2UP" (INK:CYAN, PAPER:BLACK (BRIGHT) is the attribute). | |||||
| B583 | DEFM "2U","P"+$80 | |||||||
| HI_Text | B586 | DEFM $57 | "HI" (INK:WHITE, PAPER:RED (BRIGHT) is the attribute). | |||||
| B587 | DEFM "H","I"+$80 | |||||||
|
View the equivalent code in;
|
||||||||
| Prev: B53D | Up: Map | Next: B589 |