예제 #1
0
파일: pc.c 프로젝트: amadvance/advancemame
/**************************************************************************
 *
 *      Interrupt handlers.
 *
 **************************************************************************/
static void pc_generic_frame_interrupt(void (*pc_timer)(void))
{
	if (pc_timer)
		pc_timer();

	pc_keyboard();
}
예제 #2
0
파일: pcshare.c 프로젝트: nitrologic/emu
static TIMER_CALLBACK( pc_keyb_timer )
{
	if ( pc_keyb.on ) {
		pc_keyboard();
	} else {
		/* Clock has been low for more than 5 msec, start diagnostic test */
		at_keyboard_reset();
		pc_keyb.self_test = 1;
	}
}