write a crappy frame loop that doesn't work
This commit is contained in:
parent
ca4df8db94
commit
da80a76866
1 changed files with 13 additions and 1 deletions
14
main.asm
14
main.asm
|
@ -81,6 +81,9 @@ include "dlist.asm" // takes a0
|
||||||
jal DumpAndWrite
|
jal DumpAndWrite
|
||||||
lli a3, 0x80 * 4
|
lli a3, 0x80 * 4
|
||||||
|
|
||||||
|
jal SetupScreen
|
||||||
|
nop
|
||||||
|
|
||||||
Start3D:
|
Start3D:
|
||||||
DisableInt()
|
DisableInt()
|
||||||
|
|
||||||
|
@ -126,10 +129,19 @@ Start3D:
|
||||||
EnableInt()
|
EnableInt()
|
||||||
|
|
||||||
MainLoop:
|
MainLoop:
|
||||||
j MainLoop
|
lui a0, K_BASE
|
||||||
|
lw t0, K_HISTORY(a0)
|
||||||
|
andi t0, 0x08
|
||||||
|
beqz t0, MainLoop
|
||||||
|
nop
|
||||||
|
|
||||||
|
MaybeDumpString(SNewFrame)
|
||||||
|
|
||||||
|
j Start3D
|
||||||
nop
|
nop
|
||||||
|
|
||||||
KSL(SWaiting, "Waiting on RSP...")
|
KSL(SWaiting, "Waiting on RSP...")
|
||||||
|
KSL(SNewFrame, "next frame")
|
||||||
|
|
||||||
SetupScreen:
|
SetupScreen:
|
||||||
if HICOLOR {
|
if HICOLOR {
|
||||||
|
|
Loading…
Reference in a new issue