Some PC5086-related fixes - fixes hard disk and mouse initialization, fixes #5882.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user