Some PC5086-related fixes - fixes hard disk and mouse initialization, fixes #5882.

This commit is contained in:
OBattler
2025-08-03 16:59:46 +02:00
parent 4ce365c8f0
commit b36f75df5e
3 changed files with 3 additions and 4 deletions

View File

@@ -134,7 +134,6 @@ ide_handler(upc_t *dev)
if (dev->regs[0x0c] & 0x80) {
if (dev->regs[0x0c] & 0x40) {
/* TODO: See what IDE mode the Amstrad PC5086 uses. */
if (dev->xta && (dev->hdc_xta != NULL))
xta_handler(dev->hdc_xta, 1);
} else {
@@ -383,6 +382,8 @@ f82c710_pc5086_init(const device_t *info)
dev->xta = 1;
f82c710_reset(dev);
return dev;
}