More FDC37c93x fixes and FDC37m60x rewrite based on FDC37c93x.

This commit is contained in:
OBattler
2025-08-02 18:04:56 +02:00
parent e7c4e6e430
commit c0d9d6aef9
2 changed files with 587 additions and 234 deletions

View File

@@ -1250,7 +1250,6 @@ fdc37c93x_write(uint16_t port, uint8_t val, void *priv)
if (valxor)
fdc37c93x_serial_handler(dev, 0);
break;
/* TODO: Bit 0 = MIDI Mode, Bit 1 = High speed. */
case 0xf0:
if (dev->chip_id >= FDC37C93X_FR) {
dev->ld_regs[dev->regs[7]][dev->cur_reg] = val & 0x83;
@@ -1281,7 +1280,6 @@ fdc37c93x_write(uint16_t port, uint8_t val, void *priv)
fdc37c93x_serial_handler(dev, 1);
}
break;
/* TODO: Bit 0 = MIDI Mode, Bit 1 = High speed. */
case 0xf0:
dev->ld_regs[dev->regs[7]][dev->cur_reg] = val & 0x03;