Reverted the PIT structure to Mainline, fixes NT 4.0;

THe RTL8029/AS PCI IRQ field is now hardwired, makes it work on chipsets using the PIIX3 chip (mostly boards based on 430VX and 440FX);
Fixed S3 Trio64 rendering in NT 4.0.
This commit is contained in:
OBattler
2016-11-05 07:17:08 +01:00
parent 0e3990aa29
commit c376302ad3
3 changed files with 16 additions and 12 deletions

View File

@@ -1698,6 +1698,9 @@ void ne2000_pci_write(int func, int addr, uint8_t val, void *p)
ne2000_update_bios(ne2000);
return;
/* Commented out until an APIC controller is emulated for the PIIX3,
otherwise the RTL-8029/AS will not get an IRQ on boards using the PIIX3. */
#if 0
case 0x3C:
ne2000_pci_regs[addr] = val;
if (val != 0xFF)
@@ -1706,7 +1709,8 @@ void ne2000_pci_write(int func, int addr, uint8_t val, void *p)
ne2000_setirq(ne2000, val);
}
return;
}
#endif
}
}
void ne2000_rom_init(ne2000_t *ne2000, char *s)