|
|
| version 1.3, 2003/12/08 00:55:30 | version 1.6, 2005/02/09 20:11:33 |
|---|---|
| Line 204 void boardx2_reset(void) { | Line 204 void boardx2_reset(void) { |
| fmtimer_reset(0xc0); | fmtimer_reset(0xc0); |
| opn.channels = 6; | opn.channels = 6; |
| opngen_setcfg(6, OPN_STEREO | 0x1c0); | opngen_setcfg(6, OPN_STEREO | 0x1c0); |
| soundrom_load(0xcc000, "86"); | soundrom_load(0xcc000, OEMTEXT("86")); |
| fmboard_extreg(extendchannel); | fmboard_extreg(extendchannel); |
| } | } |
| void boardx2_bind(void) { | void boardx2_bind(void) { |
| fmboard_fmrestore(0, 2); | |
| fmboard_fmrestore(3, 0); | |
| fmboard_fmrestore(6, 1); | |
| psggen_restore(&psg1); | |
| psggen_restore(&psg2); | |
| fmboard_rhyrestore(&rhythm, 0); | |
| sound_streamregist(&opngen, (SOUNDCB)opngen_getpcm); | sound_streamregist(&opngen, (SOUNDCB)opngen_getpcm); |
| 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(&rhythm, (SOUNDCB)rhythm_getpcm); | rhythm_bind(&rhythm); |
| pcm86io_bind(); | pcm86io_bind(); |
| cbuscore_attachsndex(0x088, opn_o, opn_i); | cbuscore_attachsndex(0x088, opn_o, opn_i); |
| cbuscore_attachsndex(0x188, opna_o, opna_i); | cbuscore_attachsndex(0x188, opna_o, opna_i); |