|
|
| version 1.7, 2004/01/13 05:30:58 | version 1.8, 2004/02/03 08:24:40 |
|---|---|
| Line 81 static void IOOUTCALL amd_odb(UINT port, | Line 81 static void IOOUTCALL amd_odb(UINT port, |
| psggen_setreg(&psg3, amd98.psg3reg, | psggen_setreg(&psg3, amd98.psg3reg, |
| psg1.reg.io2); | psg1.reg.io2); |
| } | } |
| #if 0 | |
| else if (amd98.psg3reg == 0x0f) { | else if (amd98.psg3reg == 0x0f) { |
| int r; | int r; |
| static const BYTE amdr[] = {0x01, 0x08, 0x10, 0x20, 0x06, 0x40}; | static const BYTE amdr[] = {0x01, 0x08, 0x10, 0x20, 0x06, 0x40}; |
| Line 91 static const BYTE amdr[] = {0x01, 0x08, | Line 92 static const BYTE amdr[] = {0x01, 0x08, |
| } | } |
| } | } |
| } | } |
| #endif | |
| } | } |
| } | } |
| psg2.reg.io2 = dat; | psg2.reg.io2 = dat; |
| Line 126 void amd98_bind(void) { | Line 128 void amd98_bind(void) { |
| psgpanset(&psg1); | psgpanset(&psg1); |
| psgpanset(&psg2); | psgpanset(&psg2); |
| psgpanset(&psg3); | psgpanset(&psg3); |
| psggen_restore(&psg1); | |
| psggen_restore(&psg2); | |
| psggen_restore(&psg3); | |
| sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm); | sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm); |
| sound_streamregist(&psg2, (SOUNDCB)psggen_getpcm); | sound_streamregist(&psg2, (SOUNDCB)psggen_getpcm); |
| sound_streamregist(&psg3, (SOUNDCB)psggen_getpcm); | sound_streamregist(&psg3, (SOUNDCB)psggen_getpcm); |