コード例 #1
0
static TIMER_DEVICE_CALLBACK( kas89_interrupt )
{
	int scanline = param;

	if((scanline % 2) == 0)
		v9938_interrupt(timer.machine(), 0);
}
コード例 #2
0
ファイル: geneve.c プロジェクト: CrouchingLlama/openlase-mame
/*
	scanline interrupt
*/
void geneve_hblank_interrupt(void)
{
	static int line_count;
	v9938_interrupt();
	if (++line_count == 262)
	{
		line_count = 0;
		poll_keyboard();
		poll_mouse();
	}
}
コード例 #3
0
static INTERRUPT_GEN( big10_interrupt )
{
	v9938_interrupt(device->machine, 0);
}
コード例 #4
0
static TIMER_DEVICE_CALLBACK( tonton_interrupt )
{
	v9938_set_sprite_limit(0, 0);
	v9938_set_resolution(0, 0);
	v9938_interrupt(timer.machine(), 0);
}