aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxapi
diff options
context:
space:
mode:
Diffstat (limited to 'libpsn00b/psxapi')
-rw-r--r--libpsn00b/psxapi/sys/adddummytty.s10
-rw-r--r--libpsn00b/psxapi/sys/getrcnt.s10
-rw-r--r--libpsn00b/psxapi/sys/resetrcnt.s10
-rw-r--r--libpsn00b/psxapi/sys/setrcnt.s10
-rw-r--r--libpsn00b/psxapi/sys/startrcnt.s10
-rw-r--r--libpsn00b/psxapi/sys/stoprcnt.s10
6 files changed, 60 insertions, 0 deletions
diff --git a/libpsn00b/psxapi/sys/adddummytty.s b/libpsn00b/psxapi/sys/adddummytty.s
new file mode 100644
index 0000000..a569d38
--- /dev/null
+++ b/libpsn00b/psxapi/sys/adddummytty.s
@@ -0,0 +1,10 @@
+.set noreorder
+
+.section .text
+
+.global AddDummyTty
+.type AddDummyTty, @function
+AddDummyTty:
+ addiu $t2, $0, 0xa0
+ jr $t2
+ addiu $t1, $0, 0x99
diff --git a/libpsn00b/psxapi/sys/getrcnt.s b/libpsn00b/psxapi/sys/getrcnt.s
new file mode 100644
index 0000000..0b035ed
--- /dev/null
+++ b/libpsn00b/psxapi/sys/getrcnt.s
@@ -0,0 +1,10 @@
+.set noreorder
+
+.section .text
+
+.global GetRCnt
+.type GetRCnt, @function
+GetRCnt:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x03 \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/resetrcnt.s b/libpsn00b/psxapi/sys/resetrcnt.s
new file mode 100644
index 0000000..5811625
--- /dev/null
+++ b/libpsn00b/psxapi/sys/resetrcnt.s
@@ -0,0 +1,10 @@
+.set noreorder
+
+.section .text
+
+.global ResetRCnt
+.type ResetRCnt, @function
+ResetRCnt:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x06 \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/setrcnt.s b/libpsn00b/psxapi/sys/setrcnt.s
new file mode 100644
index 0000000..ec6180a
--- /dev/null
+++ b/libpsn00b/psxapi/sys/setrcnt.s
@@ -0,0 +1,10 @@
+.set noreorder
+
+.section .text
+
+.global SetRCnt
+.type SetRCnt, @function
+SetRCnt:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x02 \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/startrcnt.s b/libpsn00b/psxapi/sys/startrcnt.s
new file mode 100644
index 0000000..0fd5c33
--- /dev/null
+++ b/libpsn00b/psxapi/sys/startrcnt.s
@@ -0,0 +1,10 @@
+.set noreorder
+
+.section .text
+
+.global StartRCnt
+.type StartRCnt, @function
+StartRCnt:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x04 \ No newline at end of file
diff --git a/libpsn00b/psxapi/sys/stoprcnt.s b/libpsn00b/psxapi/sys/stoprcnt.s
new file mode 100644
index 0000000..4af94da
--- /dev/null
+++ b/libpsn00b/psxapi/sys/stoprcnt.s
@@ -0,0 +1,10 @@
+.set noreorder
+
+.section .text
+
+.global StopRCnt
+.type StopRCnt, @function
+StopRCnt:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x05 \ No newline at end of file