Fixed datasheet erratum in floppy handling on the PC87307 and PC87309 Super I/O chip, and added a variant of the PC87307 on ports 15C and 15D.

This commit is contained in:
OBattler
2020-09-07 18:35:30 +02:00
parent bb9a657d1c
commit ec1a3e3784
3 changed files with 21 additions and 5 deletions

View File

@@ -255,7 +255,7 @@ pc87309_write(uint16_t port, uint8_t val, void *priv)
case 0x61:
switch (dev->regs[0x07]) {
case 0x00:
dev->ld_regs[dev->regs[0x07]][dev->cur_reg - 0x30] = val & 0xfa;
dev->ld_regs[dev->regs[0x07]][dev->cur_reg - 0x30] = (val & 0xfa) | 0x02;
fdc_handler(dev);
break;
case 0x01: