pcsx2/fps2bios/kernel/iopload/libkernel/iop_dmacman.s
laurence.muller a2791d843e Using standard SVN folder structure
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@398 96395faa-99c1-11dd-bbfe-3dabce05a288
2008-11-06 23:27:06 +00:00

52 lines
898 B
ArmAsm

/*
_____ ___ ____
____| | ____| PSX2 OpenSource Project
| ___| |____ (C)2002, David Ryan (oobles@hotmail.com)
------------------------------------------------------------------------
iop_dmacman.s DMAC library function imports.
taken from dmacman in bios.
*/
.text
.set noreorder
/* ############################### DMACMAN STUB ######## */
.local dmacman_stub
dmacman_stub:
.word 0x41e00000
.word 0
.word 0x00000101
.ascii "dmacman\0"
.align 2
.globl dmacSetDMA # 028
dmacSetDMA:
j $31
li $0, 28
.globl dmacStartTransfer # 032
dmacStartTransfer:
j $31
li $0, 32
.globl dmacSetVal # 033
dmacSetVal:
j $31
li $0, 33
.globl dmacEnableDMAch # 034
dmacEnableDMAch:
j $31
li $0, 34
.globl dmacDisableDMAch # 035
dmacDisableDMAch:
j $31
li $0, 35
.word 0
.word 0