diff --git a/src/pic.c b/src/pic.c index 56a6a927f..3db41b4c2 100644 --- a/src/pic.c +++ b/src/pic.c @@ -442,6 +442,10 @@ pic_read(uint16_t addr, void *priv) } } else { /* Standard 8259 PIC read */ +#ifndef UNDEFINED_READ + /* Put the IRR on to the data bus by default until the real PIC is probed. */ + dev->data_bus = dev->irr; +#endif if (dev->ocw3 & 0x04) { if (dev->int_pending) { dev->data_bus = 0x80 | (dev->interrupt & 7);