Reverted the inappropriate PIT "fix" by qeggers that actually broke PIT readouts while writing the counts (so yes, the wm was intended, not rm), fixes several machines.
This commit is contained in:
@@ -647,7 +647,7 @@ pit_read(uint16_t addr, void *priv)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 3: case 0x83:
|
case 3: case 0x83:
|
||||||
if (ctr->rm & 0x80)
|
if (ctr->wm & 0x80)
|
||||||
ret = ~(ctr->l & 0xff);
|
ret = ~(ctr->l & 0xff);
|
||||||
else
|
else
|
||||||
ret = count >> ((ctr->rm & 0x80) ? 8 : 0);
|
ret = count >> ((ctr->rm & 0x80) ? 8 : 0);
|
||||||
|
Reference in New Issue
Block a user