/[pcsx2_0.9.7]/trunk/fps2bios/kernel/iopload/libkernel/iop_dmacman.s
ViewVC logotype

Contents of /trunk/fps2bios/kernel/iopload/libkernel/iop_dmacman.s

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 5 months ago) by william
File size: 898 byte(s)
exported r3113 from ./upstream/trunk
1 /*
2 _____ ___ ____
3 ____| | ____| PSX2 OpenSource Project
4 | ___| |____ (C)2002, David Ryan (oobles@hotmail.com)
5 ------------------------------------------------------------------------
6 iop_dmacman.s DMAC library function imports.
7 taken from dmacman in bios.
8 */
9
10 .text
11 .set noreorder
12
13
14 /* ############################### DMACMAN STUB ######## */
15 .local dmacman_stub
16 dmacman_stub:
17 .word 0x41e00000
18 .word 0
19 .word 0x00000101
20 .ascii "dmacman\0"
21 .align 2
22
23 .globl dmacSetDMA # 028
24 dmacSetDMA:
25 j $31
26 li $0, 28
27
28 .globl dmacStartTransfer # 032
29 dmacStartTransfer:
30 j $31
31 li $0, 32
32
33 .globl dmacSetVal # 033
34 dmacSetVal:
35 j $31
36 li $0, 33
37
38 .globl dmacEnableDMAch # 034
39 dmacEnableDMAch:
40 j $31
41 li $0, 34
42
43 .globl dmacDisableDMAch # 035
44 dmacDisableDMAch:
45 j $31
46 li $0, 35
47
48
49 .word 0
50 .word 0
51
52

  ViewVC Help
Powered by ViewVC 1.1.22