From 3ffebff2aad2ca438cf76db51fb3459c5639cd67 Mon Sep 17 00:00:00 2001 From: lameguy64 Date: Thu, 23 May 2019 22:24:56 +0800 Subject: Added BIOS Controller, BIOS CD, 2 new examples and custom exit handler in the works --- libpsn00b/psxapi/sys/initcard.s | 10 ---------- libpsn00b/psxapi/sys/initpad.s | 11 ----------- libpsn00b/psxapi/sys/returnfromexception.s | 10 ++++++++++ 3 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 libpsn00b/psxapi/sys/initcard.s delete mode 100644 libpsn00b/psxapi/sys/initpad.s create mode 100644 libpsn00b/psxapi/sys/returnfromexception.s (limited to 'libpsn00b/psxapi/sys') diff --git a/libpsn00b/psxapi/sys/initcard.s b/libpsn00b/psxapi/sys/initcard.s deleted file mode 100644 index e589592..0000000 --- a/libpsn00b/psxapi/sys/initcard.s +++ /dev/null @@ -1,10 +0,0 @@ -.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 deleted file mode 100644 index b0f1b6f..0000000 --- a/libpsn00b/psxapi/sys/initpad.s +++ /dev/null @@ -1,11 +0,0 @@ -.set noreorder -.section .text - -.include "hwregs_a.h" - -.global InitPad -.type InitPad, @function -InitPad: - addiu $t2, $0, 0xb0 - jr $t2 - addiu $t1, $0, 0x12 diff --git a/libpsn00b/psxapi/sys/returnfromexception.s b/libpsn00b/psxapi/sys/returnfromexception.s new file mode 100644 index 0000000..ec67b64 --- /dev/null +++ b/libpsn00b/psxapi/sys/returnfromexception.s @@ -0,0 +1,10 @@ +.set noreorder +.section .text + +.global ReturnFromException +.type ReturnFromException, @function +ReturnFromException: + addiu $t2, $0, 0xb0 + jr $t2 + addiu $t1, $0, 0x17 + \ No newline at end of file -- cgit v1.2.3