void boardx2_bind(void) { opna_bind(&g_opna[0]); opna_bind(&g_opna[1]); pcm86io_bind(); cbuscore_attachsndex(0x088, opn_o, opn_i); cbuscore_attachsndex(0x188, opna_o, opna_i); }
void board86_bind(void) { fmboard_fmrestore(0, 0); fmboard_fmrestore(3, 1); psggen_restore(&psg1); fmboard_rhyrestore(&rhythm, 0); // sound_streamregist(&opngen, (SOUNDCB)opngen_getpcm); // sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm); rhythm_bind(&rhythm); pcm86io_bind(); cbuscore_attachsndex(0x188 + opn.base, opna_o, opna_i); }
/** * Bind */ void boardpx2_bind(void) { opna_bind(&g_opna[0]); opna_bind(&g_opna[1]); opna_bind(&g_opna[2]); opna_bind(&g_opna[3]); opna_bind(&g_opna[4]); pcm86io_bind(); cbuscore_attachsndex(0x188, spb_o, spb_i); cbuscore_attachsndex(0x588, spr_o, spr_i); cbuscore_attachsndex(0x088, spb_o2, spb_i2); cbuscore_attachsndex(0x488, spr_o2, spr_i2); cbuscore_attachsndex(0x288, p86_o3, p86_i3); }
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(&psg1, (SOUNDCB)psggen_getpcm); sound_streamregist(&psg2, (SOUNDCB)psggen_getpcm); rhythm_bind(&rhythm); pcm86io_bind(); cbuscore_attachsndex(0x088, opn_o, opn_i); cbuscore_attachsndex(0x188, opna_o, opna_i); }
void boardpx2_bind(void) { fmboard_fmrestore(&g_opn, 0, 0); fmboard_fmrestore(&g_opn, 3, 1); fmboard_fmrestore(&g_opn, 6, 2); fmboard_fmrestore(&g_opn, 9, 3); fmboard_fmrestore(&g_opn2, 12, 0); fmboard_fmrestore(&g_opn2, 15, 1); fmboard_fmrestore(&g_opn2, 18, 2); fmboard_fmrestore(&g_opn2, 21, 3); fmboard_fmrestore(&g_opn3, 24, 0); fmboard_fmrestore(&g_opn3, 27, 1); fmboard_psgrestore(&g_opn, &g_psg1, 0); fmboard_psgrestore(&g_opn2, &g_psg2, 0); fmboard_psgrestore(&g_opn3, &g_psg3, 0); fmboard_rhyrestore(&g_opn, &g_rhythm, 0); fmboard_rhyrestore(&g_opn2, &g_rhythm2, 0); fmboard_rhyrestore(&g_opn3, &g_rhythm3, 0); sound_streamregist(&g_opngen, (SOUNDCB)opngen_getpcmvr); sound_streamregist(&g_psg1, (SOUNDCB)psggen_getpcm); sound_streamregist(&g_psg2, (SOUNDCB)psggen_getpcm); sound_streamregist(&g_psg3, (SOUNDCB)psggen_getpcm); rhythm_bind(&g_rhythm); rhythm_bind(&g_rhythm2); rhythm_bind(&g_rhythm3); sound_streamregist(&g_adpcm, (SOUNDCB)adpcm_getpcm); sound_streamregist(&g_adpcm2, (SOUNDCB)adpcm_getpcm); sound_streamregist(&g_adpcm3, (SOUNDCB)adpcm_getpcm); pcm86io_bind(); cbuscore_attachsndex(0x188, spb_o, spb_i); cbuscore_attachsndex(0x588, spr_o, spr_i); cbuscore_attachsndex(0x088, spb_o2, spb_i2); cbuscore_attachsndex(0x488, spr_o2, spr_i2); cbuscore_attachsndex(0x288, p86_o3, p86_i3); }
/** * Bind */ void board86_bind(void) { opna_bind(&g_opna[0]); pcm86io_bind(); cbuscore_attachsndex(0x188 + g_opna[0].s.base, opna_o, opna_i); }