예제 #1
0
INPUT_PORTS_END

INTERRUPT_GEN( laserbas_interrupt )
{
	if(cpu_getvblank())
		 cpunum_set_input_line(0, 0, HOLD_LINE);
	else
		cpunum_set_input_line(0, INPUT_LINE_NMI, PULSE_LINE);
}
예제 #2
0
static READ8_HANDLER( fake_VRLE_r )
{
	return (s2636_1_ram[0xcb] & 0x3f) + (cpu_getvblank()*0x40);
}
예제 #3
0
/* set the display enable bit */
void segac2_enable_display(int enable)
{
	if (!cpu_getvblank())
		video_screen_update_partial(0, cpu_getscanline());
	display_enable = enable;
}
예제 #4
0
/* set the display enable bit */
void segac2_enable_display(int enable)
{
	if (!cpu_getvblank())
		force_partial_update(cpu_getscanline() + scanbase);
	display_enable = enable;
}