![]() |
Routines |
| Prev: 7DD9 | Up: Map | Next: 7E64 |
|
Used by the routine at TitleScreen.
|
||||||||||||||||||||
| Input_StartGame | 7E47 | DI | Disable interrupts. | |||||||||||||||||
| 7E48 | LD A,$FD | Read from the keyboard;
|
||||||||||||||||||
| 7E4A | IN A,($FE) | |||||||||||||||||||
| 7E4C | BIT 1,A | Jump to Input_StartGame_Start if "S" was pressed. | ||||||||||||||||||
| 7E4E | JR NZ,Input_StartGame_Start | |||||||||||||||||||
|
Switch the custom font to the game font.
|
||||||||||||||||||||
| 7E50 | LD HL,$6153 | HL=6153. | ||||||||||||||||||
| 7E53 | JR Input_StartGame_SetFont | Jump to Input_StartGame_SetFont. | ||||||||||||||||||
| Input_StartGame_Start | 7E55 | BIT 4,A | Return if "G" is being pressed. | |||||||||||||||||
| 7E57 | RET NZ | |||||||||||||||||||
|
Switch the custom font to the ZX Spectrum font.
|
||||||||||||||||||||
| 7E58 | LD HL,$3C00 | HL=3C00. | ||||||||||||||||||
| Input_StartGame_SetFont | 7E5B | LD ($6771),HL | Write HL to 6771 (Configurable_PrintString). | |||||||||||||||||
|
Set the flag which will start the game.
|
||||||||||||||||||||
| 7E5E | LD A,$01 | Write 01 to Flag_TitleScreenStart. | ||||||||||||||||||
| 7E60 | LD ($66F2),A | |||||||||||||||||||
| 7E63 | RET | Return. | ||||||||||||||||||
| Prev: 7DD9 | Up: Map | Next: 7E64 |