Wait on the startup screen for the SPC to be ready before accepting button inputs
This commit is contained in:
@@ -1470,6 +1470,9 @@ crystal_done:
|
|||||||
org $08C637
|
org $08C637
|
||||||
crystal_continue:
|
crystal_continue:
|
||||||
|
|
||||||
|
org $0CC100 ; <- A511 C904 - Bank0C.asm:07 (LDA $11 : CMP.b #$04)
|
||||||
|
JSL.l startup_wait
|
||||||
|
|
||||||
org $0EE6EC ; <- E220 A922 - Bank0E.asm:2892 (SEP #$20 : LDA.b #$22 : STA $012C)
|
org $0EE6EC ; <- E220 A922 - Bank0E.asm:2892 (SEP #$20 : LDA.b #$22 : STA $012C)
|
||||||
JSL.l ending_wait
|
JSL.l ending_wait
|
||||||
|
|
||||||
|
|||||||
9
msu.asm
9
msu.asm
@@ -655,6 +655,15 @@ crystal_fanfare:
|
|||||||
jml crystal_done
|
jml crystal_done
|
||||||
|
|
||||||
|
|
||||||
|
startup_wait:
|
||||||
|
LDA $11 : CMP.b #$04 : BCC .done ; thing we wrote over
|
||||||
|
LDA !REG_SPC_CONTROL : BEQ .done-1
|
||||||
|
CMP.b #$01 : BEQ .done
|
||||||
|
CLC
|
||||||
|
.done
|
||||||
|
RTL
|
||||||
|
|
||||||
|
|
||||||
ending_wait:
|
ending_wait:
|
||||||
REP #$20
|
REP #$20
|
||||||
LDA !REG_MSU_ID_01 : CMP !VAL_MSU_ID_01 : BNE .done
|
LDA !REG_MSU_ID_01 : CMP !VAL_MSU_ID_01 : BNE .done
|
||||||
|
|||||||
Reference in New Issue
Block a user