mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-02-03 14:52:30 +01:00
set status register on reset
This commit is contained in:
parent
ad88fefae5
commit
5cba981f82
@ -1,5 +1,7 @@
|
||||
.section .text.entry_handler, "ax", %progbits
|
||||
#include "vr4300.h"
|
||||
|
||||
|
||||
.section .text.entry_handler, "ax", %progbits
|
||||
entry_handler:
|
||||
.type entry_handler, %function
|
||||
.global entry_handler
|
||||
@ -7,6 +9,9 @@ entry_handler:
|
||||
la $gp, _gp
|
||||
la $sp, _sp
|
||||
|
||||
li $v0, (C0_SR_CU0)
|
||||
mtc0 $v0, C0_STATUS
|
||||
|
||||
lui $t0, 0xA400
|
||||
lbu $a0, 9($t0) # TV type
|
||||
lbu $a1, 10($t0) # Reset type
|
||||
|
Loading…
x
Reference in New Issue
Block a user