Prev: B2BC Up: Map Next: B310
B2CE: Main start routine.
Used by the routines at Init_CopyScr, Game_ExitCheck and Demo.
Input
Output
Main_Title B2CE LD SP,$0000 Reset stack to top of memory.
B2D1 LD HL,TitleScreenBuffer Display title screen
B2D4 LD DE,$4000
B2D7 LD BC,$1B00
B2DA LDIR
B2DC LD A,$07 White border.
B2DE OUT ($FE),A
B2E0 LD DE,$1704 Display 'any Key' message at bottom of screen.
B2E3 LD HL,StrAnyKey
B2E6 CALL FurnitureDraw
B2E9 XOR A
B2EA LD (Pocket1),A Clear the pockets.
B2ED INC A
B2EE LD (Pocket2),A
Main_Title_0 B2F1 XOR A Wait for key up.
B2F2 IN A,($FE)
B2F4 OR $E0
B2F6 CP $FF
B2F8 JR NZ,Main_Title_0
B2FA CALL Music_Start Start the music
Main_Title_1 B2FD CALL Music_PlayPart play next bit of music.
B300 LD A,(Music_EndFlag) End of music, go onto demo.
B303 OR A
B304 JP NZ,Demo_Initialise
B307 XOR A See if user presses a key.
B308 IN A,($FE)
B30A OR $E0
B30C CP $FF
B30E JR Z,Main_Title_1 If not keep playing music.
Fall thru to Game_Start
Prev: B2BC Up: Map Next: B310