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); } }
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); } }
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); } }