Login  •  Register


The time is now: Sat Mar 28, 2015 5:13 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 2 [ 41 posts ]    Go to page 1, 2  Next
Print view Previous topic  |  Next topic
Author Message
PostPosted: Thu Sep 05, 2013 4:35 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
Hi all,

I've written up our member' macomaniac's and superpete's topic posts into some sort of guide. Please find it here:

http://www.emaculation.com/doku.php/ppc ... mu-for-osx

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 09, 2013 11:02 pm 
Offline
Student Driver

Joined: Sat Nov 26, 2011 3:08 am
Posts: 23
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...


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Sep 10, 2013 4:39 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Oct 14, 2013 6:26 pm 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
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?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 15, 2013 7:34 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
Hi,

I checked and the answer to both your questions is "no".

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 15, 2013 10:02 am 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
Cat_7 wrote:
Hi,

I checked and the answer to both your questions is "no".

Best,
Cat_7

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?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 15, 2013 11:26 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
Ah, interesting:

I veryfied, and both color and classic bugs are still there.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Oct 15, 2013 12:56 pm 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
Cat_7 wrote:
Ah, interesting:

I veryfied, and both color and classic bugs are still there.

Best,
Cat_7

Thank you! Let's hope they fix it some day.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 17, 2013 1:40 am 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
Qemu 1.7.0 is out. Have any of the issues involving colour and/or Classic been fixed?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 17, 2013 7:20 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
Unless someone else tries to build a version, you'll have to wait for an answer a few more days...

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 17, 2013 7:46 pm 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
That's fine with me. Thank you.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 17, 2013 8:11 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 577
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Apr 20, 2014 12:29 pm 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
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?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Apr 20, 2014 3:16 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
Hi,

Not tried yet. I'll give it a go tomorrow.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 21, 2014 4:07 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 21, 2014 4:35 pm 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
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

Thanks for your research.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 21, 2014 5:00 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 627
Neozeed's done a good summary of the changes on his blog:
http://virtuallyfun.superglobalmegacorp.com/


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Apr 27, 2014 9:15 am 
Offline
Space Cadet

Joined: Sun Apr 27, 2014 8:55 am
Posts: 3
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):

Quote:
brew install sdl


and when I configured it for the build, I had to use a couple of extra flags:

Quote:
./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.

Quote:
./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



Image



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. :smile:


Cheers,
~ iMic.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Apr 27, 2014 10:41 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Apr 27, 2014 12:16 pm 
Offline
Space Cadet

Joined: Sun Apr 27, 2014 8:55 am
Posts: 3
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Apr 27, 2014 12:33 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 28, 2014 12:57 am 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 627
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 28, 2014 5:25 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 28, 2014 9:16 am 
Offline
Mac Mechanic

Joined: Fri Oct 26, 2007 7:56 am
Posts: 171
Cat_7 wrote:
I'll build a target ppc64-softmmu as well and see how that fares.


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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Apr 28, 2014 1:53 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3551
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 2 [ 41 posts ]    Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group