|
|
| version 1.3, 2004/08/05 11:30:12 | version 1.4, 2004/08/08 06:59:22 |
|---|---|
| Line 2 | Line 2 |
| #include "joymng.h" | #include "joymng.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "sound.h" | |
| #include "sndctrl.h" | #include "sndctrl.h" |
| #include "keystat.h" | #include "keystat.h" |
| #include "x1f.h" | #include "x1f.h" |
| Line 47 REG8 IOINPCALL opm_i(UINT port) { | Line 48 REG8 IOINPCALL opm_i(UINT port) { |
| void IOOUTCALL sndboard_psgreg(UINT port, REG8 dat) { | void IOOUTCALL sndboard_psgreg(UINT port, REG8 dat) { |
| sndboard.psgreg = dat; | sndboard.psgreg = dat; |
| (void)port; | |
| } | } |
| void IOOUTCALL sndboard_psgdat(UINT port, REG8 dat) { | void IOOUTCALL sndboard_psgdat(UINT port, REG8 dat) { |
| Line 59 void IOOUTCALL sndboard_psgdat(UINT port | Line 61 void IOOUTCALL sndboard_psgdat(UINT port |
| x1f_psg(reg, dat); | x1f_psg(reg, dat); |
| psggen_setreg(&psggen, reg, dat); | psggen_setreg(&psggen, reg, dat); |
| } | } |
| (void)port; | |
| } | } |
| REG8 IOINPCALL sndboard_psgsta(UINT port) { | REG8 IOINPCALL sndboard_psgsta(UINT port) { |
| Line 86 REG8 IOINPCALL sndboard_psgsta(UINT port | Line 89 REG8 IOINPCALL sndboard_psgsta(UINT port |
| return(ret); | return(ret); |
| } | } |
| else { | else { |
| (void)port; | |
| return(0xff); | return(0xff); |
| } | } |
| } | } |