Example #1
0
static WRITE_HANDLER( speech_control_w )
{
	int reset = ( ( data >> 1 ) & 1 );
	int start = ( ~data ) & 1;

	speech_chip = ( data & 4 ) ? 1 : 0;

	UPD7759_reset_w( speech_chip, reset );

	if (!invalid_code)
		UPD7759_start_w( speech_chip, start );
}
Example #2
0
static WRITE_HANDLER( combasc_play_w )
{
	if (data & 0x02)
        UPD7759_start_w(0, 0);
}
Example #3
0
static WRITE8_HANDLER( speech_control_w )
{
	speech_chip = ( data & 4 ) ? 1 : 0;
	UPD7759_reset_w( speech_chip, data & 2 );
	UPD7759_start_w( speech_chip, data & 1 );
}
Example #4
0
static void D7759_write_port_0_w(int offset, int data)
{
    UPD7759_reset_w (0,0);
    UPD7759_message_w(offset,data);
    UPD7759_start_w (0,0);
}
Example #5
0
void combatsc_play_w(int offset,int data)
{
	if (data & 0x02)
		UPD7759_start_w(offset, data);
}
Example #6
0
static WRITE_HANDLER( combasc_play_w )
{
	UPD7759_start_w(0, data & 2);
}