aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxapi/sys
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-08-17 14:44:29 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-08-17 14:44:29 +0800
commit82a441e7bd3a5103330c7d5ca7f9df470953e586 (patch)
treea8a933aa9f03767c6cebc5e11380c37931eae5cd /libpsn00b/psxapi/sys
parente7f9e08937f9d556793c1e0ff0a08856a3897b41 (diff)
downloadpsn00bsdk-82a441e7bd3a5103330c7d5ca7f9df470953e586.tar.gz
Added childexec example, added BIOS memory card functions, changed PAD function names, runtime library now 0.13b
Diffstat (limited to 'libpsn00b/psxapi/sys')
-rw-r--r--libpsn00b/psxapi/sys/_bu_init.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_chan.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_clear.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_info.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_load.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_read.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_status.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_wait.s10
-rw-r--r--libpsn00b/psxapi/sys/_card_write.s10
-rw-r--r--libpsn00b/psxapi/sys/_new_card.s10
-rw-r--r--libpsn00b/psxapi/sys/initcard.s10
-rw-r--r--libpsn00b/psxapi/sys/initpad.s10
-rw-r--r--libpsn00b/psxapi/sys/startcard.s10
-rw-r--r--libpsn00b/psxapi/sys/startpad.s10
-rw-r--r--libpsn00b/psxapi/sys/stopcard.s10
-rw-r--r--libpsn00b/psxapi/sys/stoppad.s10
16 files changed, 150 insertions, 10 deletions
diff --git a/libpsn00b/psxapi/sys/_bu_init.s b/libpsn00b/psxapi/sys/_bu_init.s
new file mode 100644
index 0000000..f074899
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_bu_init.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _bu_init
+.type _bu_init, @function
+_bu_init:
+ addiu $t2, $0, 0xa0
+ jr $t2
+ addiu $t1, $0, 0x55
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_chan.s b/libpsn00b/psxapi/sys/_card_chan.s
new file mode 100644
index 0000000..7847820
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_chan.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_chan
+.type _card_chan, @function
+_card_chan:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x58
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_clear.s b/libpsn00b/psxapi/sys/_card_clear.s
new file mode 100644
index 0000000..163415c
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_clear.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_clear
+.type _card_clear, @function
+_card_clear:
+ addiu $t2, $0, 0xa0
+ jr $t2
+ addiu $t1, $0, 0xaf
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_info.s b/libpsn00b/psxapi/sys/_card_info.s
new file mode 100644
index 0000000..5e6720f
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_info.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_info
+.type _card_info, @function
+_card_info:
+ addiu $t2, $0, 0xa0
+ jr $t2
+ addiu $t1, $0, 0xab
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_load.s b/libpsn00b/psxapi/sys/_card_load.s
new file mode 100644
index 0000000..0e871cb
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_load.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_load
+.type _card_load, @function
+_card_load:
+ addiu $t2, $0, 0xa0
+ jr $t2
+ addiu $t1, $0, 0xac
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_read.s b/libpsn00b/psxapi/sys/_card_read.s
new file mode 100644
index 0000000..9026c63
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_read.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_read
+.type _card_read, @function
+_card_read:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x4f
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_status.s b/libpsn00b/psxapi/sys/_card_status.s
new file mode 100644
index 0000000..1dd37aa
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_status.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_status
+.type _card_status, @function
+_card_status:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x5c
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_wait.s b/libpsn00b/psxapi/sys/_card_wait.s
new file mode 100644
index 0000000..5ceb4d5
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_wait.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_wait
+.type _card_wait, @function
+_card_wait:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x5d
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_card_write.s b/libpsn00b/psxapi/sys/_card_write.s
new file mode 100644
index 0000000..5e1450b
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_card_write.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _card_write
+.type _card_write, @function
+_card_write:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x4e
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/_new_card.s b/libpsn00b/psxapi/sys/_new_card.s
new file mode 100644
index 0000000..cfd6f57
--- /dev/null
+++ b/libpsn00b/psxapi/sys/_new_card.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global _new_card
+.type _new_card, @function
+_new_card:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x50
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/initcard.s b/libpsn00b/psxapi/sys/initcard.s
new file mode 100644
index 0000000..bdc3ffd
--- /dev/null
+++ b/libpsn00b/psxapi/sys/initcard.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global InitCARD
+.type InitCARD, @function
+InitCARD:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x4a
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/initpad.s b/libpsn00b/psxapi/sys/initpad.s
new file mode 100644
index 0000000..f2a6642
--- /dev/null
+++ b/libpsn00b/psxapi/sys/initpad.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global InitPAD
+.type InitPAD, @function
+InitPAD:
+ addiu $t2, $0 , 0xb0
+ jr $t2
+ addiu $t1, $0 , 0x12
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/startcard.s b/libpsn00b/psxapi/sys/startcard.s
new file mode 100644
index 0000000..44f1676
--- /dev/null
+++ b/libpsn00b/psxapi/sys/startcard.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global StartCARD
+.type StartCARD, @function
+StartCARD:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x4b
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/startpad.s b/libpsn00b/psxapi/sys/startpad.s
index b15b0c0..fdd380f 100644
--- a/libpsn00b/psxapi/sys/startpad.s
+++ b/libpsn00b/psxapi/sys/startpad.s
@@ -1,10 +1,10 @@
.set noreorder
.section .text
-.global StartPad
-.type StartPad, @function
-StartPad:
- addiu $t2, $0, 0xb0
+.global StartPAD
+.type StartPAD, @function
+StartPAD:
+ addiu $t2, $0 , 0xb0
jr $t2
- addiu $t1, $0, 0x13
+ addiu $t1, $0 , 0x13
\ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/stopcard.s b/libpsn00b/psxapi/sys/stopcard.s
new file mode 100644
index 0000000..9c38d5d
--- /dev/null
+++ b/libpsn00b/psxapi/sys/stopcard.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global StopCARD
+.type StopCARD, @function
+StopCARD:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x4c
+ \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/stoppad.s b/libpsn00b/psxapi/sys/stoppad.s
index 562ac0f..5e77a43 100644
--- a/libpsn00b/psxapi/sys/stoppad.s
+++ b/libpsn00b/psxapi/sys/stoppad.s
@@ -1,10 +1,10 @@
.set noreorder
.section .text
-.global StopPad
-.type StopPad, @function
-StartPad:
- addiu $t2, $0, 0xb0
+.global StopPAD
+.type StopPAD, @function
+StopPAD:
+ addiu $t2, $0 , 0xb0
jr $t2
- addiu $t1, $0, 0x14
+ addiu $t1, $0 , 0x14
\ No newline at end of file