Example #1
0
static WRITE_LINE_DEVICE_HANDLER( apollo_dma_1_hrq_changed ) {
	// DLOG2(("dma 1 hrq changed state %02x", state));
	i8237_dreq0_w(get_device_dma8237_2(device), state);

	/* Assert HLDA */
	i8237_hlda_w(device, state);

	// cascade mode?
	// i8237_hlda_w(get_device_dma8237_2(device), state);
}
Example #2
0
File: pc.c Project: poliva/mame-rr
static WRITE_LINE_DEVICE_HANDLER( ibm5150_pit8253_out1_changed )
{
	pc_state *st = device->machine().driver_data<pc_state>();
	/* Trigger DMA channel #0 */
	if ( st->m_out1 == 0 && state == 1 && st->m_u73_q2 == 0 )
	{
		st->m_u73_q2 = 1;
		i8237_dreq0_w( st->m_dma8237, st->m_u73_q2 );
	}
	st->m_out1 = state;
}
Example #3
0
File: pc.c Project: poliva/mame-rr
static WRITE8_DEVICE_HANDLER( pc_dma8237_0_dack_w )
{
	pc_state *st = device->machine().driver_data<pc_state>();
	st->m_u73_q2 = 0;
	i8237_dreq0_w( st->m_dma8237, st->m_u73_q2 );
}