game addr update

This commit is contained in:
cxy004 2021-08-16 10:16:12 +08:00
parent 5b04870c79
commit bf34ce528c
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ SUPV_START:
lui t0, %hi(SWITCH) + 1
lw t1, %lo(SWITCH)(t0)
sltiu t1, t1, 1
xor t1, t1, zero
nor t1, t1, t1
and s0, s0, t1
la t0, kb_buffer
lw t2, -8(t0)

View File

@ -4,8 +4,8 @@
#define SPVR_STACK_INIT 0x807E0000
#define GAME_STACK_INIT 0x807F0000
#define SEG7 0xBFAFF010
#define SWITCH 0xBFAFF020
#define BUTTON 0xBFAFF028
#define SWITCH 0xBFDFF020
#define BUTTON 0xBFDFF028
#define UART0 0xBFE40000
#define UART1 0xBFE40010
@ -16,7 +16,7 @@
#define KB_SCORE 0xEB
#define KB_RESET 0xF3
#define fps 1
#define fps 30
#define x_sp0 3 // 4s
#define x_sp1 4