|
|
| version 1.2, 2004/08/05 04:53:15 | 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 psgdat[0x10]; | |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| UINT8 opmdat[0x100]; | |
| #endif | |
| } SNDBOARD; | } SNDBOARD; |
| Line 10 typedef struct { | Line 19 typedef struct { |
| extern "C" { | extern "C" { |
| #endif | #endif |
| void IOOUTCALL sndboard_opmreg(UINT port, REG8 dat); | #if !defined(DISABLE_SOUND) |
| void IOOUTCALL sndboard_opmdat(UINT port, REG8 dat); | void sndboard_update(void); |
| REG8 IOINPCALL sndboard_opmsta(UINT port); | #else |
| #define sndboard_update() | |
| #endif | |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| void IOOUTCALL opm_o(UINT port, REG8 dat); | |
| 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); |