Commented out the NEC PowerMate V, because it doesn't work;
Applied all mainline PCem commits; CD-ROM sound thread is now disabled if all CD-ROM drives are either disabled or have audio disabled; Fixed the displayed incorrect zero cylinders, head, and sectors per cylinder when loading an already existing HDI image; Fixed the CD-ROM audio menu item not checking/unchecking correctly.
This commit is contained in:
7
src/io.c
7
src/io.c
@@ -130,6 +130,9 @@ uint8_t inb(uint16_t port)
|
||||
/* if (!port_inb[port][0] && !port_inb[port][1])
|
||||
pclog("Bad INB %04X %04X:%04X\n", port, CS, cpu_state.pc); */
|
||||
|
||||
/* if (port_inb[port][0] || port_inb[port][1])
|
||||
pclog("Good INB %04X %04X:%04X\n", port, CS, cpu_state.pc); */
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
||||
@@ -144,6 +147,10 @@ void outb(uint16_t port, uint8_t val)
|
||||
|
||||
/* if (!port_outb[port][0] && !port_outb[port][1])
|
||||
pclog("Bad OUTB %04X %02X %04X:%08X\n", port, val, CS, cpu_state.pc); */
|
||||
|
||||
/* if (port_outb[port][0] || port_outb[port][1])
|
||||
pclog("Good OUTB %04X %02X %04X:%08X\n", port, val, CS, cpu_state.pc); */
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user