Ejemplo n.º 1
0
void boardpx1_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_psgrestore(&g_opn, &g_psg1, 0);
	fmboard_psgrestore(&g_opn2, &g_psg2, 0);
	fmboard_rhyrestore(&g_opn, &g_rhythm, 0);
	fmboard_rhyrestore(&g_opn2, &g_rhythm2, 0);
	sound_streamregist(&g_opngen, (SOUNDCB)opngen_getpcmvr);
	sound_streamregist(&g_psg1, (SOUNDCB)psggen_getpcm);
	sound_streamregist(&g_psg2, (SOUNDCB)psggen_getpcm);
	rhythm_bind(&g_rhythm);
	rhythm_bind(&g_rhythm2);
	sound_streamregist(&g_adpcm, (SOUNDCB)adpcm_getpcm);
	sound_streamregist(&g_adpcm2, (SOUNDCB)adpcm_getpcm);

	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);
}
Ejemplo n.º 2
0
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);
}
Ejemplo n.º 3
0
/**
 * Bind
 */
void boardpx1_bind(void)
{
	opna_bind(&g_opna[0]);
	opna_bind(&g_opna[1]);
	opna_bind(&g_opna[2]);
	opna_bind(&g_opna[3]);
	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);
}
Ejemplo n.º 4
0
/**
 * 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);
}
Ejemplo n.º 5
0
void boardspr_bind(void) {

	fmboard_fmrestore(0, 0);
	fmboard_fmrestore(3, 1);
	fmboard_fmrestore(6, 2);
	fmboard_fmrestore(9, 3);
	psggen_restore(&psg1);
	fmboard_rhyrestore(&rhythm, 0);
	sound_streamregist(&opngen, (SOUNDCB)opngen_getpcmvr);
	sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm);
	rhythm_bind(&rhythm);
	sound_streamregist(&adpcm, (SOUNDCB)adpcm_getpcm);
	cbuscore_attachsndex(0x188 - opn.base, spb_o, spb_i);
	cbuscore_attachsndex(0x588 - opn.base, spr_o, spr_i);
}
Ejemplo n.º 6
0
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);
}
Ejemplo n.º 7
0
/**
 * Bind
 */
void board118_bind(void)
{
	opna_bind(&g_opna[0]);
	cs4231io_bind();
	cbuscore_attachsndex(0x188, ymf_o, ymf_i);
	iocore_attachout(0xa460, ymf_oa460);
	iocore_attachinp(0xa460, ymf_ia460);
}
Ejemplo n.º 8
0
void board26k_bind(void) {

	fmboard_fmrestore(&g_opn, 0, 0);
	fmboard_psgrestore(&g_opn, &g_psg1, 0);
	sound_streamregist(&g_opngen, (SOUNDCB)opngen_getpcm);
	sound_streamregist(&g_psg1, (SOUNDCB)psggen_getpcm);
	cbuscore_attachsndex(0x188 - g_opn.base, opn_o, opn_i);
}
Ejemplo n.º 9
0
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);
}
Ejemplo n.º 10
0
void board118_bind(void) {

	fmboard_fmrestore(&g_opn, 0, 0);
	fmboard_fmrestore(&g_opn, 3, 1);
	fmboard_psgrestore(&g_opn, &g_psg1, 0);
	fmboard_rhyrestore(&g_opn, &g_rhythm, 0);
	sound_streamregist(&g_opngen, (SOUNDCB)opngen_getpcm);
	sound_streamregist(&g_psg1, (SOUNDCB)psggen_getpcm);
	rhythm_bind(&g_rhythm);
	cs4231io_bind();
	cbuscore_attachsndex(0x188, ymf_o, ymf_i);
	iocore_attachout(0xa460, ymf_oa460);
	iocore_attachinp(0xa460, ymf_ia460);
}
Ejemplo n.º 11
0
/**
 * Bind
 */
void board86_bind(void)
{
	opna_bind(&g_opna[0]);
	pcm86io_bind();
	cbuscore_attachsndex(0x188 + g_opna[0].s.base, opna_o, opna_i);
}