Qemu package and guide for OSX available

About QEMU, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

User avatar
Cat_7
Expert User
Posts: 5102
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

No problem,

Compiling on OSX is easy, but distributing an OSX build requires some additional steps like fixing references to libraries you will probably not have installed on your machine. These libraries sometimes get updated by brew, so I have to copy the correct libraries into the Libs folder and check the script I use to point to the libraries in the Libs folder. See here:
https://www.emaculation.com/forum/viewt ... =34&t=8848

Next, I need to check whether all works correctly by actually downloading my own version. This sets additional attributes on some files that need to be correctly removed by the allow-qemu-to-run script provided. Only then I can upload something to the forum.

Windows builds just require copying the executable, pc-bios folder and dlls used into one folder and upload it.

While we're at it: misschien kun je me een voorbeeld van een internetradio-link sturen die met winamp afgespeeld kan worden?

Best,
Cat_7
rscaboyke
Student Driver
Posts: 24
Joined: Thu May 10, 2007 7:54 am

Re: Qemu package and guide for OSX available

Post by rscaboyke »

@Cat7, I think everything needed for livestream muziek via Winamp for Mac is included in this .sit file, give a sign please when working - thx for everything and greetings from Belgium.

By the way ages ago I posted in the Sheepshaver forum about opcode error when launching Adobe Framemaker 7 in sheepshaver and that Gwenolé posted me a version that resolved that issue, though with all the upcoming versions the error re-appeared. I found out that when you launch framemaker in structure-mode and not in the normal-mode no error occurs anymore. In Qemu ppc never had an error with framemaker

https://we.tl/t-yjIA6Ub17W
User avatar
Cat_7
Expert User
Posts: 5102
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

Hi,

Thank you. Sound quality is perfect.
I found one can add channels by finding e.g. http://icecast.vrtcdn.be/stubru-high.mp3 and add it to the list.
Oh boy, I remember the days StudioBrussel only broadcasted between 7 and 23 and played 2 songs back-to-back, only mentioning title and performers in-between. For a long time now it has become an advertising vehicle.... m-and-m hits? Really?

Best,
Cat_7
rscaboyke
Student Driver
Posts: 24
Joined: Thu May 10, 2007 7:54 am

Re: Qemu package and guide for OSX available

Post by rscaboyke »

Hey Cat,

Since the new osx built in the qemu.command is now also like windows versions the backslash-separator used, what is the actually the best way to go - one line and "-drive file=9.2.img,format=raw,media=disk" or "-hda 9.2.img \" ?
Thanks for any explanation
User avatar
Cat_7
Expert User
Posts: 5102
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

Hi,

The ^ for windows and the \ for OSX and Linux line endings are just there to improve readability.
When those lines are parsed in the Windows or OSX terminals they are stitched together into one line, recreating the original one-liner.

As for -hda or -drive: -hda already fill in some parameter values -drive does not.
For example, -hda automatically fills in media=disk while -drive needs explicit mentioning of that.

Please note the logic: after the last line there is no ^ or \ as the parser should not try to read an additional line that is not there.

However, I do not know all parameters set automatically. I wonder who does ;-)

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 3102
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for OSX available

Post by adespoton »

I used to know the defaults, but they've changed since then :) If you look in the source repository, the defaults are outlined there.
PeterHolbrook
Apple Corer
Posts: 247
Joined: Fri Oct 26, 2007 7:56 am

Re: Qemu package and guide for OSX available

Post by PeterHolbrook »

Classic works within Tiger

I don't know if this has been mentioned before, but, just in case, at least the latest experimental Qemu build (5.0, with screamer) for macOS can run Classic within its emulation of Mac OS X Tiger. The first time I tried this, a couple of years ago, with an earlier version of Qemu, the Tiger disk would get corrupted. Now it works just fine.
User avatar
A9K
Space Cadet
Posts: 1
Joined: Mon Aug 10, 2020 1:55 am

Re: Qemu package and guide for OSX available

Post by A9K »

This looks great, nice work.

This preserves a huge chunk of the history of OS X, I'm curios to see if I could get a python web server running on old PPC hardware with OS X Puma.
That build belongs in a museum.
Flyinace2000
Space Cadet
Posts: 4
Joined: Sun Aug 23, 2020 4:34 pm

Re: Qemu package and guide for OSX available

Post by Flyinace2000 »

I'm probably missing something, but I can't get CRTL+ALT+G to release my mouse in Catalina. I'm using the left side of the keyboard.
User avatar
Cat_7
Expert User
Posts: 5102
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

I posted a new qemu-system-ppc for MacOS in the first post.

best,
Cat_7
Post Reply