PowerPC OSX on Qemu 1.6.0 for OSX
Moderators: Cat_7, Ronald P. Regensburg
PowerPC OSX on Qemu 1.6.0 for OSX
Hi all,
EDIT: the guide referenced here was updated:
http://www.emaculation.com/doku.php/ppc ... mu-for-osx
Best,
Cat_7
EDIT: the guide referenced here was updated:
http://www.emaculation.com/doku.php/ppc ... mu-for-osx
Best,
Cat_7
Last edited by Cat_7 on Wed Jan 06, 2016 10:37 pm, edited 1 time in total.
Reason:
Reason:
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Good work Cat7!
There's a Win32 build too http://virtuallyfun.superglobalmegacorp.com/?p=3242
I'd imagine the same instructions (sans disk image creation) should work. It must be possible to get qemu-img to produce a working image...
There's a Win32 build too http://virtuallyfun.superglobalmegacorp.com/?p=3242
I'd imagine the same instructions (sans disk image creation) should work. It must be possible to get qemu-img to produce a working image...
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Yes, I know.
Instructions are not quite the same, as a bunch of additional dll's needs to be downloaded. And the Windows version is a lot slower (even). But the colors are not off
Best,
Cat_7
Instructions are not quite the same, as a bunch of additional dll's needs to be downloaded. And the Windows version is a lot slower (even). But the colors are not off
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Qemu 1.6.1 is out. Has anyone verified whether the colour bug has been solved when emulating OS X 10.2-10.4 or if Classic works any better?
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Hi,
I checked and the answer to both your questions is "no".
Best,
Cat_7
I checked and the answer to both your questions is "no".
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Does that mean nobody has checked? Does it mean somebody has, indeed, checked, but the color bug is still there and Classic still fails to run?Cat_7 wrote:Hi,
I checked and the answer to both your questions is "no".
Best,
Cat_7
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Ah, interesting:
I veryfied, and both color and classic bugs are still there.
Best,
Cat_7
I veryfied, and both color and classic bugs are still there.
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Thank you! Let's hope they fix it some day.Cat_7 wrote:Ah, interesting:
I veryfied, and both color and classic bugs are still there.
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Qemu 1.7.0 is out. Have any of the issues involving colour and/or Classic been fixed?
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Unless someone else tries to build a version, you'll have to wait for an answer a few more days...
Best,
Cat_7
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
That's fine with me. Thank you.
-
- Forum All-Star
- Posts: 1706
- Joined: Tue Oct 14, 2008 12:12 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
There's a prebuilt OS X version here:
http://virtuallyfun.superglobalmegacorp.com/?p=3671
I think I have a Jaguar disk somewhere, but it will take some time to find it, unfortunately.
http://virtuallyfun.superglobalmegacorp.com/?p=3671
I think I have a Jaguar disk somewhere, but it will take some time to find it, unfortunately.
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Qemu 2.0 has been released. Does anyone know whether any improvements have been achieved in emulating OS X 10-2-10.4 or the Classic environment?
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Hi,
Not tried yet. I'll give it a go tomorrow.
Best,
Cat_7
Not tried yet. I'll give it a go tomorrow.
Best,
Cat_7
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Hi,
None of the issues we were having with qemu are fixed. I did read, however, that the inverted colour problem OSX users have might have something to do with the pixman library not having been built correctly for OSX. That is outside the control of qemu development.
Best,
Cat_7
None of the issues we were having with qemu are fixed. I did read, however, that the inverted colour problem OSX users have might have something to do with the pixman library not having been built correctly for OSX. That is outside the control of qemu development.
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Thanks for your research.Cat_7 wrote:Hi,
None of the issues we were having with qemu are fixed. I did read, however, that the inverted colour problem OSX users have might have something to do with the pixman library not having been built correctly for OSX. That is outside the control of qemu development.
Best,
Cat_7
- adespoton
- Forum All-Star
- Posts: 4229
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Neozeed's done a good summary of the changes on his blog:
http://virtuallyfun.superglobalmegacorp.com/
http://virtuallyfun.superglobalmegacorp.com/
Re: PowerPC OSX on Qemu 1.6.0 for OSX
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):
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.
Cheers,
~ iMic.
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):
and when I configured it for the build, I had to use a couple of extra flags:brew install 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../configure --target-list=ppc-softmmu --disable-gtk --enable-sdl
./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.
Cheers,
~ iMic.
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Hi,
Thanks for reporting your findings here!
When I have time, I will also update our guide and downloads.
Have you tried with Qemu 2.0.0
Best,
Cat_7
Thanks for reporting your findings here!
When I have time, I will also update our guide and downloads.
Have you tried with Qemu 2.0.0
Best,
Cat_7
Re: PowerPC OSX on Qemu 1.6.0 for OSX
I haven't yet, however I've started compiling Qemu 2.0.0 i386 as of a couple of hours ago. I'll try building the PPC target as well and see what happens.
UPDATE: Colour issue still isn't fixed. If you use the --disable-gtk --enable-sdl trick I mentioned above, the colours appear fine. I'd test further but I don't have my OS X installer disc images on this machine at the moment.
UPDATE: Colour issue still isn't fixed. If you use the --disable-gtk --enable-sdl trick I mentioned above, the colours appear fine. I'd test further but I don't have my OS X installer disc images on this machine at the moment.
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Hi,
I just built a Qemu 2.0.0 version. It runs, and indeed, with SDL the colour issues are gone.
I haven't tried to install anything, I had three images from PearPC available
-cpu G4 crashes OSX (Tiger at least).
I'll build a target ppc64-softmmu as well and see how that fares.
Best,
Cat_7
I just built a Qemu 2.0.0 version. It runs, and indeed, with SDL the colour issues are gone.
I haven't tried to install anything, I had three images from PearPC available
-cpu G4 crashes OSX (Tiger at least).
I'll build a target ppc64-softmmu as well and see how that fares.
Best,
Cat_7
- adespoton
- Forum All-Star
- Posts: 4229
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: PowerPC OSX on Qemu 1.6.0 for OSX
For those interested, it appears homebrew has the right configs set for qemu 2.0 out of the box. I'm getting a zlib error due to having macports installed too, but it looks promising.
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Yes,
The walk-through by iMic works perfectly.
I also tried to use an older build of SDL-1.2.15 I had on Mavericks, set the path to SDL, and build Qemu. Qemu does find that SDL build, but gives an error related to an SDL file not being able to find Xlib.h
Rebuilding SDL-1.2.15 resulted in failure. It seems that is a known bug with SDL-1.2.15 and Mavericks, due to calling a function no longer available.
Best,
Cat_7
The walk-through by iMic works perfectly.
I also tried to use an older build of SDL-1.2.15 I had on Mavericks, set the path to SDL, and build Qemu. Qemu does find that SDL build, but gives an error related to an SDL file not being able to find Xlib.h
Rebuilding SDL-1.2.15 resulted in failure. It seems that is a known bug with SDL-1.2.15 and Mavericks, due to calling a function no longer available.
Best,
Cat_7
-
- Apple Corer
- Posts: 273
- Joined: Fri Oct 26, 2007 7:56 am
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Do you foresee that will entail some improvement in the emulation of MMU or that it will be possible to launch Classic? That would be great.Cat_7 wrote:I'll build a target ppc64-softmmu as well and see how that fares.
Re: PowerPC OSX on Qemu 1.6.0 for OSX
Hi,
No, the functionality will be the same, but a 64 bit version might be a bit faster and is capable of addressing more memory. However, addressing more memory (above 3.6Gb or thereabouts) is not an issue directly And I haven't seen speed improvements i could discern with the naked eye. Classic still doesn't run.
Best,
Cat_7
No, the functionality will be the same, but a 64 bit version might be a bit faster and is capable of addressing more memory. However, addressing more memory (above 3.6Gb or thereabouts) is not an issue directly And I haven't seen speed improvements i could discern with the naked eye. Classic still doesn't run.
Best,
Cat_7