Am 2018-07-31 01:15, schrieb Peter Maydell:
It would work. But creating an OR gate is half a dozen lines or so of
code, so it's not much more work than changing the PCI controller.
So we should prefer whichever is closest to what the real hardware
does, assuming we can determine that.

The real way is not known. The only source of information is UBoot which sets the interrupt line to 32 for all PCI devices. At least AmigaOS doesn't overwrite this setting. But UBoot could be wrong of course, as the hardware provides only one PCI slot (I think the sm502 is also connected to that bus in a direct fashion, but it doesn't have an PCI IRQ). Technically, we could also modify UBoot to chose other lines, at least AmigaOS would continue to work (if this maps the QEMU wiring) but this UBoot would be incompatible to the original hardware.

Bye
Sebastian

Reply via email to