pcsx2/unfree/fps2bios/kernel/iopload/libkernel/iop_modload.s

62 lines
1.1 KiB
ArmAsm

/*
_____ ___ ____
____| | ____| PSX2 OpenSource Project
| ___| |____ (C)2002, Nick Van Veen (nickvv@xtra.co.nz)
------------------------------------------------------------------------
iop_modload.s Module Manager Functions.
taken from .irx files with symbol table.
*/
.text
.set noreorder
/* ############################### MODLOAD STUB ####### */
/* # Added by Sjeep, 28th March 2002 # */
.local modload_stub
modload_stub:
.word 0x41e00000
.word 0
.word 0x00000101
.ascii "modload\0"
.align 2
.globl ReBootStart # 004
ReBootStart:
jr $31
li $0, 0x04
.globl LoadModuleAddress # 005
LoadModuleAddress:
jr $31
li $0, 0x05
.globl LoadModule # 006
LoadModule:
jr $31
li $0, 0x06
.globl LoadStartModule # 007
LoadStartModule:
jr $31
li $0, 0x07
.globl StartModule # 008
StartModule:
jr $31
li $0, 0x08
.globl LoadModuleBufferAddress # 009
LoadModuleBufferAddress:
jr $31
li $0, 0x09
.globl LoadModuleBuffer # 010
LoadModuleBuffer:
jr $31
li $0, 0x0A
.word 0
.word 0