예제 #1
0
static IRQ_CALLBACK(scramble_sh_irq_callback)
{
	device_t *target = device->machine->device("konami_7474");

	/* interrupt acknowledge clears the flip-flop --
       we need to pulse the CLR line because MAME's core never clears this
       line, only asserts it */
	ttl7474_clear_w(target, 0);

	ttl7474_clear_w(target, 1);

	return 0xff;
}
예제 #2
0
static WRITE_LINE_DEVICE_HANDLER( coin4_interrupt_clear_w )
{
	ttl7474_clear_w(ttl7474_2u_2, state);
}