![]() |
Routines |
| Prev: 45217 | Up: Map | Next: 45347 |
|
Used by the routine at StartGame.
|
||||
| Play_Window | 45290 | LD HL,16384 | Write 0 to 6144 bytes starting from 16384. | |
| 45293 | LD (HL),0 | |||
| 45295 | LD DE,16385 | |||
| 45298 | LD BC,6143 | |||
| 45301 | LDIR | |||
|
Paint the top two lines INK:
BLACK,
PAPER:
YELLOW
.
|
||||
| 45303 | LD HL,22528 | HL=22528. | ||
| 45306 | CALL PaintYellow | Call PaintYellow. | ||
|
Paint the bottom two lines INK:
BLACK,
PAPER:
YELLOW
.
|
||||
| 45309 | LD HL,23232 | HL=23232. | ||
| 45312 | CALL PaintYellow | Call PaintYellow. | ||
| 45315 | LD A,6 | Set the border to YELLOW. | ||
| 45317 | OUT (254),A | |||
|
Print "Score".
|
||||
| 45319 | LD DE,16385 | DE=16385 (screen buffer location). | ||
| 45322 | LD HL,49653 | HL=Messaging_Score. | ||
| 45325 | CALL PrintString | Call PrintString. | ||
|
Print "Bonus".
|
||||
| 45328 | LD DE,16410 | DE=16410 (screen buffer location). | ||
| 45331 | LD HL,49647 | HL=Messaging_Bonus. | ||
| 45334 | CALL PrintString | Call PrintString. | ||
|
Prints the road name.
|
||||
| 45337 | LD DE,16393 | DE=16393 (screen buffer location). | ||
| 45340 | LD HL,49792 | HL=Messaging_RoadName. | ||
| 45343 | CALL PrintString | Call PrintString. | ||
| 45346 | RET | Return. | ||
| Prev: 45217 | Up: Map | Next: 45347 |