示例#1
0
void kbdc8042_device::at_8042_check_keyboard()
{
	int data;

	if (!m_keyboard.received && !m_mouse.received)
	{
		if((data = m_keyboard_dev->read(machine().driver_data()->generic_space(), 0)))
			at_8042_receive(data);
	}
}
示例#2
0
文件: 8042kbdc.c 项目: Ilgrim/MAMEHub
void kbdc8042_device::at_8042_check_keyboard()
{
	int data;

	if (!m_keyboard.received && !m_mouse.received)
	{
		if ( (data = at_keyboard_read())!=-1)
			at_8042_receive(data);
	}
}
示例#3
0
static void at_8042_check_keyboard(running_machine *machine)
{
	int data;

	if (!kbdc8042.keyboard.received
		&& !kbdc8042.mouse.received)
	{
		if ( (data = at_keyboard_read())!=-1)
			at_8042_receive(machine, data);
	}
}