started working on interrupts
[psx_test1] / src / gte.S
1 #include <regdef.h>
2         .text
3         .set noreorder
4
5         .equ C0_SR, $12
6
7         .globl gte_init
8 gte_init:
9         mfc0 t0, C0_SR
10         li t1, 0x40000000
11         or t0, t0, t1
12         jr ra
13         mtc0 t0, C0_SR          # bd
14
15
16 # vi:ts=8 sts=8 sw=8 ft=mips: