diff --git a/src/devices/machine/i8255.cpp b/src/devices/machine/i8255.cpp index e28dd928ffa..6d2588b541c 100644 --- a/src/devices/machine/i8255.cpp +++ b/src/devices/machine/i8255.cpp @@ -432,6 +432,13 @@ uint8_t i8255_device::read_pc() data |= m_inte[PORT_A] ? 0x10 : 0x00; mask |= 0xc0; } + + if (port_c_upper_mode() == MODE_OUTPUT) + { + // read data from output latch + data |= m_output[PORT_C] & mask; + mask = 0; + } break; case MODE_2: