Hi everyone, I normally read the information here fairly often but don't often have much to contribute back. I've been messing around with Qemu 1.7.0 a little and thought I'd share what I've found so far.
In regards to the corrupted colours in Qemu, I decided to drop GTK entirely in favour of SDL which has been successful in working around the problem. I'm not sure what impact on functionality or performance this may have, but it seems to work rather nicely.
I had to install SDL first (I used Homebrew for this):
brew install sdl
and when I configured it for the build, I had to use a couple of extra flags:
./configure --target-list=ppc-softmmu --disable-gtk --enable-sdl
Which has allowed QEMU to run with correct colours when using an OS X guest. I've been using 1024x768x32 when launching QEMU, and this seems to work fine.
./qemu-system-ppc -L pc-bios/ -m 256 -M g3beige -cpu G3 -cdrom /Users/me/Desktop/Panther1.iso -g 1024x768x32 -hda /Users/me/Desktop/machd.img
Something else that may be of use is that while the Mac99 emulation isn't perfect yet, limiting QEMU to running 10.2 or lower, it is possible to run Panther and possibly Tiger with the g3beige emulation (without modifying the install disc). When installing Panther, it checks for an incompatible machine identifier, such as that of a Beige G3 (AAPL,PowerMac G3). It is possible to hex edit the OpenBIOS files to have the system identify as a PowerMac1,1 instead, which allows the OS X installer to continue without any issues. Changing the identifier doesn't appear to have negative effects on the emulation.
I've posted a link below with instructions on how to do this. Simply search the page for "Patching OpenBIOS for Panther"
and it should take you straight to it.
I've posted more detailed information on how to compile QEMU with SDL and how to patch the OpenBIOS file with a new machine identifier over at MacTalk Australia:http://www.mactalk.com.au/62/117243-panther-macbook-air.html
I would cross-post it here but I'm typing this out rather quickly with a few spare minutes, so my apologies there.
Keep in mind that the information linked may not be complete
. At the moment it's a summary of what I've been messing around with so far, I may have forgotten to list some packages that need to be installed first and so on. I'll keep correcting that page if I find any new information or anything I've missed.
However the information about forcing QEMU to compile with SDL and the information about editing OpenBIOS should be pretty much complete. I've also added a few more screenshots over there if anyone wants to take a look.
Feel free to mirror the information if you wish. Hopefully it's of use to someone here.