add SP wait string
This commit is contained in:
parent
b3b5ab4c03
commit
182ae2c510
1 changed files with 5 additions and 5 deletions
10
main.asm
10
main.asm
|
@ -110,10 +110,10 @@ Start3D:
|
||||||
SetIntMask()
|
SetIntMask()
|
||||||
|
|
||||||
MainLoop:
|
MainLoop:
|
||||||
|
WriteString(S_SP_Wait)
|
||||||
SP_HALT_WAIT()
|
SP_HALT_WAIT()
|
||||||
|
|
||||||
WriteString(SPreFrame)
|
WriteString(S_VI_Wait)
|
||||||
|
|
||||||
// wait on VI too
|
// wait on VI too
|
||||||
-
|
-
|
||||||
lui t0, VI_BASE
|
lui t0, VI_BASE
|
||||||
|
@ -140,9 +140,6 @@ SwitchToAlt:
|
||||||
j Start3D
|
j Start3D
|
||||||
lli s1, 1
|
lli s1, 1
|
||||||
|
|
||||||
KSL(SPreFrame, "now waiting for VI")
|
|
||||||
KSL(SNewFrame, "next frame")
|
|
||||||
|
|
||||||
SetupScreen:
|
SetupScreen:
|
||||||
ScreenNTSC(WIDTH, HEIGHT, VIDEO_MODE, VIDEO_C_IMAGE | UNCACHED)
|
ScreenNTSC(WIDTH, HEIGHT, VIDEO_MODE, VIDEO_C_IMAGE | UNCACHED)
|
||||||
jr ra
|
jr ra
|
||||||
|
@ -166,6 +163,9 @@ Die:
|
||||||
j Die
|
j Die
|
||||||
nop
|
nop
|
||||||
|
|
||||||
|
KSL(S_SP_Wait, "now waiting on SP")
|
||||||
|
KSL(S_VI_Wait, "now waiting on VI")
|
||||||
|
KSL(SNewFrame, "next frame")
|
||||||
|
|
||||||
if MAIN_DECOMP_IMAGE {
|
if MAIN_DECOMP_IMAGE {
|
||||||
include "lzss.baku.unsafe.asm"
|
include "lzss.baku.unsafe.asm"
|
||||||
|
|
Loading…
Add table
Reference in a new issue