mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
30 lines
946 B
C
30 lines
946 B
C
#include <libultra_internal.h>
|
|
|
|
GLOBAL_ASM(
|
|
glabel osMapTLBRdb
|
|
/* 2ff0: 40085000 */ mfc0 $t0,$10
|
|
/* 2ff4: 24090001 */ addiu $t1,$zero,0x1
|
|
/* 2ff8: 40890000 */ mtc0 $t1,$0
|
|
/* 2ffc: 40802800 */ mtc0 $zero,$5
|
|
/* 3000: 240a0017 */ addiu $t2,$zero,0x17
|
|
/* 3004: 3c09c000 */ lui $t1,0xc000
|
|
/* 3008: 40895000 */ mtc0 $t1,$10
|
|
/* 300c: 3c098000 */ lui $t1,0x8000
|
|
/* 3010: 00095982 */ srl $t3,$t1,0x6
|
|
/* 3014: 016a5825 */ or $t3,$t3,$t2
|
|
/* 3018: 408b1000 */ mtc0 $t3,$2
|
|
/* 301c: 24090001 */ addiu $t1,$zero,0x1
|
|
/* 3020: 40891800 */ mtc0 $t1,$3
|
|
/* 3024: 00000000 */ nop
|
|
/* 3028: 42000002 */ tlbwi
|
|
/* 302c: 00000000 */ nop
|
|
/* 3030: 00000000 */ nop
|
|
/* 3034: 00000000 */ nop
|
|
/* 3038: 00000000 */ nop
|
|
/* 303c: 40885000 */ mtc0 $t0,$10
|
|
/* 3040: 03e00008 */ jr $ra
|
|
/* 3044: 00000000 */ nop
|
|
/* 3048: 00000000 */ nop
|
|
/* 304c: 00000000 */ nop
|
|
);
|