![]() |
Routines |
| Prev: 62600 | Up: Map | Next: 62749 |
|
Used by the routines at GameEntryPoint and Display_High_Score_Entry_Screen.
Clears the playfield, sets the background colour to INK:
YELLOW,
PAPER:
BLACK
(BRIGHT)
, draws the title screen layout, and loads the strip blit parameters, then counts down 50 frames. Each frame checks for BREAK, S key and tape key presses, advances the title animation and colour cycle, then jumps to the high score entry screen at Display_High_Score_Entry_Screen when the counter reaches zero.
|
||||
| Attract_Mode_Loop | 62700 | CALL ClearScreenBuffer | Clear the playfield and reset sprite state via ClearScreenBuffer. | |
| 62703 | LD A,70 | Call SetBackgroundColour using INK: YELLOW, PAPER: BLACK (BRIGHT) . | ||
| 62705 | CALL SetBackgroundColour | |||
| 62708 | CALL DrawIntroSprites | Draw the title screen layout via DrawIntroSprites. | ||
| 62711 | CALL DrawAttractTitle | Load the title strip blit parameters via DrawAttractTitle. | ||
| 62714 | LD A,50 | Initialise the attract mode frame counter to 50. | ||
| Attract_Mode_Frame_Loop | 62716 | LD (50424),A | Write the frame counter to *Attract_Frame_Counter. | |
| 62719 | CALL CheckBreakKey | Check for the BREAK key combination via CheckBreakKey. | ||
| 62722 | CALL Check_S_Key_During_Display | Check for the S key via Check_S_Key_During_Display. | ||
| 62725 | CALL Save_Or_Load_High_Scores | Check for tape save/load keys (J/L) via Save_Or_Load_High_Scores. | ||
| 62728 | CALL Check_Any_Key_During_Display | Restart the high score display if any key is held via Check_Any_Key_During_Display. | ||
| 62731 | CALL AnimateIntroSprites | Advance the title screen animation frame via AnimateIntroSprites. | ||
| 62734 | CALL Advance_Colour_Cycle | Advance the title screen colour cycle via Advance_Colour_Cycle. | ||
| 62737 | CALL Advance_Intro_Colour_Cycle | Step the attribute colour ring via Advance_Intro_Colour_Cycle. | ||
| 62740 | LD A,(50424) | Load the attract mode frame counter from *Attract_Frame_Counter. | ||
| 62743 | DEC A | Decrement the attract mode frame counter. | ||
| 62744 | JR NZ,Attract_Mode_Frame_Loop | Loop back to Attract_Mode_Frame_Loop until the counter reaches zero. | ||
| 62746 | JP Display_High_Score_Entry_Screen | Jump to the high score entry screen at Display_High_Score_Entry_Screen. | ||
| Prev: 62600 | Up: Map | Next: 62749 |