Implemented a PIIX register written to by the ZAPPA that is officially reserved on PIIX (but otherwise exists on PIIX3).
This commit is contained in:
@@ -528,6 +528,8 @@ piix_write(int func, int addr, uint8_t val, void *priv)
|
|||||||
case 0xab:
|
case 0xab:
|
||||||
if (dev->type == 3)
|
if (dev->type == 3)
|
||||||
fregs[addr] &= (val & 0x01);
|
fregs[addr] &= (val & 0x01);
|
||||||
|
else if (dev->type < 3)
|
||||||
|
fregs[addr] = val;
|
||||||
break;
|
break;
|
||||||
case 0xb0:
|
case 0xb0:
|
||||||
if (dev->type == 4)
|
if (dev->type == 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user