B2CE: Main start routine.
Main_Title |
B2CE |
LD SP,$0000 |
|
B2D1 |
LD HL,TitleScreenBuffer |
|
B2D4 |
LD DE,$4000 |
|
B2D7 |
LD BC,$1B00 |
|
B2DA |
LDIR |
|
B2DC |
LD A,$07 |
|
B2DE |
OUT ($FE),A |
|
B2E0 |
LD DE,$1704 |
|
B2E3 |
LD HL,StrAnyKey |
|
B2E6 |
CALL FurnitureDraw |
|
B2E9 |
XOR A |
|
B2EA |
LD (Pocket1),A |
|
B2ED |
INC A |
|
B2EE |
LD (Pocket2),A |
Main_Title_0 |
B2F1 |
XOR A |
|
B2F2 |
IN A,($FE) |
|
B2F4 |
OR $E0 |
|
B2F6 |
CP $FF |
|
B2F8 |
JR NZ,Main_Title_0 |
|
B2FA |
CALL Music_Start |
Main_Title_1 |
B2FD |
CALL Music_PlayPart |
|
B300 |
LD A,(Music_EndFlag) |
|
B303 |
OR A |
|
B304 |
JP NZ,Demo_Initialise |
|
B307 |
XOR A |
|
B308 |
IN A,($FE) |
|
B30A |
OR $E0 |
|
B30C |
CP $FF |
|
B30E |
JR Z,Main_Title_1 |