Made the 808x interrupts delay again, fixes PCjr (TODO: Find why exactly that's needed because it sounds like a hack to me);

Fixed compiling of the PIC code with logs enabled;
A number of bugfixes in cpu/x86seg.c, fixes OS/2 1.0.
This commit is contained in:
OBattler
2020-11-01 04:21:55 +01:00
parent b89e047464
commit cfb559de13
3 changed files with 28 additions and 21 deletions

View File

@@ -100,7 +100,7 @@ pic_elcr_read(uint16_t port, void *priv)
{
pic_t *dev = (pic_t *) priv;
pic_log("ELCR%i: READ %02X\n", port & 1, elcr[port & 1]);
pic_log("ELCR%i: READ %02X\n", port & 1, dev->elcr);
return dev->elcr;
}