![]() |
Routines |
| Prev: 32217 | Up: Map | Next: 32356 |
|
Used by the routine at TitleScreen.
|
||||||||||||||||||||
| Input_StartGame | 32327 | DI | Disable interrupts. | |||||||||||||||||
| 32328 | LD A,253 | Read from the keyboard;
|
||||||||||||||||||
| 32330 | IN A,(254) | |||||||||||||||||||
| 32332 | BIT 1,A | Jump to Input_StartGame_Start if "S" was pressed. | ||||||||||||||||||
| 32334 | JR NZ,Input_StartGame_Start | |||||||||||||||||||
|
Switch the custom font to the game font.
|
||||||||||||||||||||
| 32336 | LD HL,24915 | HL=24915. | ||||||||||||||||||
| 32339 | JR Input_StartGame_SetFont | Jump to Input_StartGame_SetFont. | ||||||||||||||||||
| Input_StartGame_Start | 32341 | BIT 4,A | Return if "G" is being pressed. | |||||||||||||||||
| 32343 | RET NZ | |||||||||||||||||||
|
Switch the custom font to the ZX Spectrum font.
|
||||||||||||||||||||
| 32344 | LD HL,15360 | HL=15360. | ||||||||||||||||||
| Input_StartGame_SetFont | 32347 | LD (26481),HL | Write HL to 26481 (Configurable_PrintString). | |||||||||||||||||
|
Set the flag which will start the game.
|
||||||||||||||||||||
| 32350 | LD A,1 | Write 1 to Flag_TitleScreenStart. | ||||||||||||||||||
| 32352 | LD (26354),A | |||||||||||||||||||
| 32355 | RET | Return. | ||||||||||||||||||
| Prev: 32217 | Up: Map | Next: 32356 |