|
|
| version 1.3, 2004/08/05 11:30:12 | version 1.5, 2005/02/04 06:42:11 |
|---|---|
| Line 1 | Line 1 |
| typedef struct { | typedef struct { |
| UINT8 psgreg; | UINT8 psgreg; |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| UINT8 opmreg; | UINT8 opmreg; |
| #else | |
| UINT8 _protected_opmreg; | |
| #endif | |
| UINT8 rapids; | UINT8 rapids; |
| UINT8 padding; | UINT8 padding; |
| UINT8 psgdat[0x10]; | UINT8 psgdat[0x10]; |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| UINT8 opmdat[0x100]; | UINT8 opmdat[0x100]; |
| #endif | |
| } SNDBOARD; | } SNDBOARD; |
| Line 13 typedef struct { | Line 19 typedef struct { |
| extern "C" { | extern "C" { |
| #endif | #endif |
| #if !defined(DISABLE_SOUND) | |
| void sndboard_update(void); | |
| #else | |
| #define sndboard_update() | |
| #endif | |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| void IOOUTCALL opm_o(UINT port, REG8 dat); | void IOOUTCALL opm_o(UINT port, REG8 dat); |
| REG8 IOINPCALL opm_i(UINT port); | REG8 IOINPCALL opm_i(UINT port); |
| #endif | |
| void IOOUTCALL sndboard_psgreg(UINT port, REG8 dat); | void IOOUTCALL sndboard_psgreg(UINT port, REG8 dat); |
| void IOOUTCALL sndboard_psgdat(UINT port, REG8 dat); | void IOOUTCALL sndboard_psgdat(UINT port, REG8 dat); |