aboutsummaryrefslogtreecommitdiff
path: root/examples/cartrom/bios.inc
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-04-24 19:01:28 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-04-24 19:01:28 +0800
commit1aa0e17df7c325a41de8cf8a57f52ed853f08bf3 (patch)
tree5ec7f69ca0104f2b0a41e2ee7d3cb0cf0c9c54c5 /examples/cartrom/bios.inc
parente82da2abe4c264d4b48a48d79cf9b8e4c4fb8ab6 (diff)
downloadpsn00bsdk-1aa0e17df7c325a41de8cf8a57f52ed853f08bf3.tar.gz
Refined toolchain instructions, organized examples, added automatic retry for CdRead(), added FIOCSCAN ioctl in psxsio TTY driver, added tty and console examples.
Diffstat (limited to 'examples/cartrom/bios.inc')
-rw-r--r--examples/cartrom/bios.inc67
1 files changed, 0 insertions, 67 deletions
diff --git a/examples/cartrom/bios.inc b/examples/cartrom/bios.inc
deleted file mode 100644
index 1c0201d..0000000
--- a/examples/cartrom/bios.inc
+++ /dev/null
@@ -1,67 +0,0 @@
-printf:
- addiu $t2, $0, 0xA0
- jr $t2
- addiu $t1, $0, 0x3F
-
-atoi:
- addiu $t2, $0, 0xA0
- jr $t2
- addiu $t1, $0, 0x10
-
-toupper:
- addiu $t2, $0, 0xA0
- jr $t2
- addiu $t1, $0, 0x25
-
-open:
- addiu $t2, $0, 0xB0
- jr $t2
- addiu $t1, $0, 0x32
-
-read:
- addiu $t2, $0, 0xB0
- jr $t2
- addiu $t1, $0, 0x34
-
-close:
- addiu $t2, $0, 0xB0
- jr $t2
- addiu $t1, $0, 0x36
-
-_96_init:
- addiu $t2, $0, 0xA0
- jr $t2
- addiu $t1, $0, 0x71
-
-LoadExe:
- addiu $t2, $0, 0xA0
- jr $t2
- addiu $t1, $0, 0x42
-
-DoExec:
- addiu $t2, $0, 0xA0
- jr $t2
- addiu $t1, $0, 0x43
-
-SetConf:
- addiu $t2, $0, 0xA0
- jr $t2
- addiu $t1, $0, 0x9C
-
-SetDefaultExitFromException:
- addiu $t2, $0, 0xB0
- jr $t2
- addiu $t1, $0, 0x18
-
-EnterCriticalSection:
- addiu $a0, $0, 1
- syscall 0
- jr $ra
- nop
-
-ExitCriticalSection:
- addiu $a0, $0, 2
- syscall 0
- jr $ra
- nop
- \ No newline at end of file