On Sun, 21 Jul 2019, Mark Cave-Ayland wrote:
On 20/07/2019 17:36, BALATON Zoltan wrote:
driver,AAPL,MacOS,PowerPC -- 4941 : 4a 6f 79 21 70 65 66 66 70 77 70 63 00
^^^ This driver should not be here.
Ah I see. This is because vga_config_cb() gets called not just for a specific device/vendor id but for any PCI display device. It might be worth renaming it to bochs_config_cb() and tying it down to the QEMU device/vendor id so that it doesn't interfere with external FCode ROMs.
But I had vga-ndrv? set to false so this then should not add driver even for QEMU VGA and it didn't add it with this serting before your patches, only does now so there's some problem with handling that option now.
Not running vga.fs and adding driver for ATY but let an FCode ROM do it is next step but we'll need to make FCode ROMs work for that first. (Actually once that works I'd like to also switch QEMU VGA to use proper FCode ROM added in QEMU then the hacks regading vga.fs and NDRV patching could be completely cleaned up from OpenBIOS.)
Regards, BALATON Zoltan