Hi,
Builds from the
official source are available here:
23-08-2019Qemu-4.1-OSX-23-08-2019.zip
https://surfdrive.surf.nl/files/index.p ... 4/download24-04-2019Qemu-4.0-OSX-24-04-2019.zip
https://surfdrive.surf.nl/files/index.p ... w/downloadShould run on El Capitan and higher. Now supports the command line option -device VGA,edid=on (provides additional resolutions in the guest).
Use it with this guide: http://www.emaculation.com/doku.php/ppc ... mu-for-osx25-12-2018Qemu-3.1-OSX-25-12-2018.zip
https://surfdrive.surf.nl/files/index.p ... t/download14-08-2018Qemu-3.0.0-OSX-14-08-2018.zip
https://surfdrive.surf.nl/files/index.p ... m/downloadShould run on El Capitan and higher. No sound support, as that is still experimental.
Build from source for Qemu 3.0. Not much news regarding PPC emulation, but some speed up in disk performance might be noticed. Perhaps someone didn't like the sound of Qemu 2.13, so we were bumped to version 3.0.0.
24-04-2018https://surfdrive.surf.nl/files/index.p ... I/downloadBuild from Qemu 2.12 final code. Compatible with El Capitan and upwards.
Please note the inclusion of the pc-bios folder, which requires the -L pc-bios parameter in the command line for Qemu to find some required files such as openbios-ppc and qemu_vga.ndrv. Our guide has been updated accordingly. Also included are two scripts that can be used to run Qemu with tap networking.
05-02-2018https://surfdrive.surf.nl/files/index.p ... J/downloadWhile not providing additional functionality to the build below, it does provide a substantial performance boost.
Compatible with El Capitan and upwards.
16-09-2017https://surfdrive.surf.nl/files/index.p ... L/downloadThis the first build in which the sungem network device is available from the official source of both OpenBIOS and Qemu. This allows Mac OS to see a built-in ethernet device, so the realtek drivers are no longer required.
Known issues: Mac OS 9.0.4 refuses to boot when not using usb-mouse and usb-kbd. The system profiler in Mac OS 9.0.4 crashes. OSX 10.3 doesn't see the network device as built-in but functions nevertheless.
Should be compatible from Mountain Lion upwards.
19-05-2017https://surfdrive.surf.nl/files/index.p ... U/downloadSupports:
-Default networking through realtek drivers,
-Resolution switching: this build now officially supports on the fly resolution switching. The required qemu-vga.ndrv and corresponding openbios files are included. Please note there is now a new parameter in the command line:
-prom-env "vga-ndrv?=true"
By default it loads the vga driver. When set to false, it ignores the driver.
-This also means OSX 10.0 and 10.1 are now supported out of the box.
-Runs only in Sierra!
Best,
Cat_7
I fixed the references from qemu-system-ppc and qemu-img to libs on which it depends (those I installed through brew to enable compilation) with the OSX install_name_tool which is part of Xcode. As one of the required libs itself also has dependencies, I fixed those too. You can find the entries to dependent libs by using the OSX otool this way: otool -L "executable name" or "Library name".
For reference, the batch file I used to fix the dependencies is:
#qemu-system-ppc, qemu-img and the library libgthread-2.0.0.dylib have dependencies on libraries normally not installed on a user machine. This batch file changes the dependencies of qemu-system-ppc, qemu-img, and libgthread-2.0.0.dylib to point to the libs contained in a folder Libs located besides the executables.
#How to use:
#Find the required libs and place them in a folder called Libs besides qemu-system-ppc and qemu-img.
#Place this batch file besides qemu-system-ppc and qemu-img and run it.
#fix dependencies of qemu-system-ppc
install_name_tool -change /usr/local/opt/glib/lib/libgthread-2.0.0.dylib @executable_path/Libs/libgthread-2.0.0.dylib qemu-system-ppc
install_name_tool -change /usr/local/opt/glib/lib/libglib-2.0.0.dylib @executable_path/Libs/libglib-2.0.0.dylib qemu-system-ppc
install_name_tool -change /usr/local/opt/gettext/lib/libintl.8.dylib @executable_path/Libs/libintl.8.dylib qemu-system-ppc
install_name_tool -change /usr/local/opt/pixman/lib/libpixman-1.0.dylib @executable_path/Libs/libpixman-1.0.dylib qemu-system-ppc
install_name_tool -change /usr/local/opt/libpng/lib/libpng16.16.dylib @executable_path/Libs/libpng16.16.dylib qemu-system-ppc
install_name_tool -change /usr/local/opt/libusb/lib/libusb-1.0.0.dylib @executable_path/Libs/libusb-1.0.0.dylib qemu-system-ppc
install_name_tool -change /usr/local/opt/usbredir/lib/libusbredirparser.1.dylib @executable_path/Libs/libusbredirparser.1.dylib qemu-system-ppc
#fix dependencies of qemu-img
install_name_tool -change /usr/local/opt/glib/lib/libgthread-2.0.0.dylib @executable_path/Libs/libgthread-2.0.0.dylib qemu-img
install_name_tool -change /usr/local/opt/glib/lib/libglib-2.0.0.dylib @executable_path/Libs/libglib-2.0.0.dylib qemu-img
install_name_tool -change /usr/local/opt/gettext/lib/libintl.8.dylib @executable_path/Libs/libintl.8.dylib qemu-img
cd Libs
#fix dependencies of libgthread-2.0.0.dylib
sudo install_name_tool -change /usr/local/Cellar/glib/2.46.2/lib/libglib-2.0.0.dylib @executable_path/Libs/libglib-2.0.0.dylib libgthread-2.0.0.dylib
sudo install_name_tool -change /usr/local/opt/gettext/lib/libintl.8.dylib @executable_path/Libs/libintl.8.dylib libgthread-2.0.0.dylib
How to compile on OSX:
Install brew (/usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homeb ... er/install)")
brew install glib
brew install pixman
brew install libusb
brew install pkg-config
./configure --target-list="ppc-softmmu ppc64-softmmu"
make
To compile with clang, additionally:
brew install llvm
export PATH="/usr/local/opt/llvm/bin:$PATH"
./configure --cc=clang-7 --cxx=clang++-7 --host-cc=clang-7 \
--extra-cxxflags="-I/usr/local/opt/llvm/include" \
--extra-ldflags="-L/usr/local/opt/llvm/lib -L/usr/local/opt/libffi/lib \
-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib" \
--target-list="ppc-softmmu ppc64-softmmu"
make
Last edited by
Cat_7 on Sat Jul 01, 2017 12:49 pm, edited 8 times in total.