OK. With the latest changes and the BIOS configured to route the first (which is what I assume PIRQA) to IRQ 10, I see the PC Doctor 2004 app reporting that the card is connected to IRQ '10' when asking it to display PCI information?
I have the first IRQ lane set to IRQ 10 in the PnP settings. All others are disabled atm. Although effectively, the only free IRQ numbers in the ISA range on the PCI chipsets are 5(since there's no 3rd parallel port) and 10. Of course, the IO APIC lines 16-20 are mapped to the PCI A-D lines always (not configurable).
Edit: OK. The first IRQ lane(INTA) is indeed mapped to IRQ10. And the others are properly mapped to IRQ5, as I've specified in the settings of the i440fx BIOS.
So the mapping is working properly for the PCI lanes it seems (at least for the first IRQ)?
It seems to think that PIRQA is connected to device number 1 though? So the first slot is at device 1, while the remainder works the same?
So the PIRQ lines are to be shifted up by one line to work properly on the root bus (device 0 is on PIRQD/PIRQ3)?
Edit: Just added support for the Command Register's Interrupt Disable bit and the reporting of the device's INTx pin on the Interrupt Status register bit 3.
Edit: OK. When the i440fx is left in it's default configuration, it assigns it to IRQ11? But IRQ11 is already used for the ET4000/W32 and other VGA controllers?