Mercurial > audlegacy-plugins
comparison src/sexypsf/Spu.h @ 12:3da1b8942b8b trunk
[svn] - remove src/Input src/Output src/Effect src/General src/Visualization src/Container
author | nenolod |
---|---|
date | Mon, 18 Sep 2006 03:14:20 -0700 |
parents | src/Input/sexypsf/Spu.h@13389e613d67 |
children |
comparison
equal
deleted
inserted
replaced
11:cff1d04026ae | 12:3da1b8942b8b |
---|---|
1 /* Pcsx - Pc Psx Emulator | |
2 * Copyright (C) 1999-2002 Pcsx Team | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program; if not, write to the Free Software | |
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
17 */ | |
18 | |
19 #ifndef __SPU_H__ | |
20 #define __SPU_H__ | |
21 | |
22 #define H_SPUirqAddr 0x0da4 | |
23 #define H_SPUaddr 0x0da6 | |
24 #define H_SPUdata 0x0da8 | |
25 #define H_SPUctrl 0x0daa | |
26 #define H_SPUstat 0x0dae | |
27 #define H_SPUon1 0x0d88 | |
28 #define H_SPUon2 0x0d8a | |
29 #define H_SPUoff1 0x0d8c | |
30 #define H_SPUoff2 0x0d8e | |
31 | |
32 | |
33 void SPUirq(void); | |
34 u16 SPUreadRegister(u32 reg); | |
35 void SPUwriteRegister(u32 reg, u16 val); | |
36 int SPUasync(u32 cycle); | |
37 void SPUwriteDMAMem(u32 usPSXMem,int iSize); | |
38 void SPUreadDMAMem(u32 usPSXMem,int iSize); | |
39 | |
40 | |
41 #endif /* __SPU_H__ */ |