aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxapi/fs.s
diff options
context:
space:
mode:
authorJohn "Lameguy" Wilbert Villamor <lameguy64@gmail.com>2022-03-25 09:22:20 +0800
committerGitHub <noreply@github.com>2022-03-25 09:22:20 +0800
commit975e614b3c840e2f717adac1d1cb9cee4e5e561b (patch)
tree6584ce5b0dbe27a466c95c81fac61b0d90f627bd /libpsn00b/psxapi/fs.s
parent05d44488bd5587786f4bd0286fc0f555c79aa46a (diff)
parent45168ae43e29aa5930ee5a206475ae836078915f (diff)
downloadpsn00bsdk-975e614b3c840e2f717adac1d1cb9cee4e5e561b.tar.gz
Merge pull request #46 from spicyjpeg/psxmdec
Critical ldscript fixes, initial MDEC support and CI updates
Diffstat (limited to 'libpsn00b/psxapi/fs.s')
-rw-r--r--libpsn00b/psxapi/fs.s50
1 files changed, 50 insertions, 0 deletions
diff --git a/libpsn00b/psxapi/fs.s b/libpsn00b/psxapi/fs.s
new file mode 100644
index 0000000..f225d64
--- /dev/null
+++ b/libpsn00b/psxapi/fs.s
@@ -0,0 +1,50 @@
+# PSn00bSDK BIOS API stubs
+# (C) 2022 spicyjpeg - MPL licensed
+
+# This file has been generated automatically. Each function is placed in its
+# own section to allow the linker to strip unused functions.
+
+.set noreorder
+
+## B0 table functions (5)
+
+.section .text.chdir
+.global chdir
+.type chdir, @function
+chdir:
+ li $t2, 0xb0
+ jr $t2
+ li $t1, 0x40
+
+.section .text.firstfile
+.global firstfile
+.type firstfile, @function
+firstfile:
+ li $t2, 0xb0
+ jr $t2
+ li $t1, 0x42
+
+.section .text.nextfile
+.global nextfile
+.type nextfile, @function
+nextfile:
+ li $t2, 0xb0
+ jr $t2
+ li $t1, 0x43
+
+.section .text.rename
+.global rename
+.type rename, @function
+rename:
+ li $t2, 0xb0
+ jr $t2
+ li $t1, 0x44
+
+.section .text.erase
+.global erase
+.type erase, @function
+erase:
+ li $t2, 0xb0
+ jr $t2
+ li $t1, 0x45
+