Prev: F419 Up: Map Next: F440
F422: Run Game
Used by the routines at InitialiseGame and PrepareLife.
Runs the game, starting with the title screen: it makes a new game, draws the screen and the HUD and prints the number of the player. Returns here from PrepareLife when all the ships have gone.
RunGame F422 CALL ShowTitleScreen Call ShowTitleScreen.
F425 CALL StartNewGame Call StartNewGame.
F428 CALL FillAttributesWhite Call FillAttributesWhite.
F42B CALL ClearPixels Call ClearPixels.
F42E CALL DrawHUD Call DrawHUD.
F431 CALL PrintPlayer Call PrintPlayer.
F434 LD B,$06 B=06.
RunGame_Wait F436 CALL Delay Call Delay.
F439 DJNZ RunGame_Wait Decrease B and jump to RunGame_Wait until none remain.
F43B CALL ClearPlayfield Call ClearPlayfield.
F43E JR PlayLife Jump to PlayLife.
Prev: F419 Up: Map Next: F440