# Old Mac OS on Reform with QEMU

**URL:** <https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881>\
**Category:** MNT Reform\
**Created:** [April 2, 2022, 3:31pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881 "2022-04-02T15:31:25Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![bnys](https://community.mnt.re/user_avatar/community.mnt.re/bnys/32/35_2.png) [@bnys](https://community.mnt.re/u/bnys)\
**Post date:** [April 2, 2022, 3:31pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/1 "2022-04-02T15:31:25Z")

</div>

Hi all,  
I’ve been experimenting with emulating PowerPC on Reform with [QEMU](https://wiki.qemu.org/Documentation/Platforms/PowerPC#Mac_OS_X_Server_1.2v3), trying out both Classic Mac OS (9.2) as well as Mac OS X (10.3 Panther) and wanted to share my findings. First off, the [emaculation](https://www.emaculation.com/home.html) forum/wiki have been extremely helpful in some regards, so it’s a good jumping-off point for troubleshooting. There’s a lot of documentation out there but not much info for ARM-based Linux machines.

 ![screenshot-2022-04-02-06-35-19](https://community.mnt.re/uploads/default/original/1X/edff91876f26f85dfcc9a08a99588098160c3ff7.png)

Performance is very slow in either OS 9 or OS X. I’ve played around with some of the optional commands that I thought would help out but I’m unsure they’re doing anything (see below for my recommended config). In OS X, Activity Monitor shows the virtual processor basically fully utilized, while on the host, I barely get 115% CPU utilization for the QEMU process. I don’t think there’s a way to allocate more CPU resources, but I could be wrong. The guest thinks it’s a 900 MHz PPC G4, but I’ve never used a G4 that felt this slow before!

Mac OS 9 does not respond well to the Reform trackball, and that makes using it a terrible experience. There’s some info in the emaculation forum about installing a [usb-tablet](https://github.com/kanjitalk755/macos9-usb-tablet/releases) extension, but that didn’t work for me and instead leaves the cursor immobile.

Networking is configured automatically! I was able to browse using [frogfind](http://frogfind.com/), which strips away elements from sites and loads a text-only version friendly to retro computers/defunct browsers.

Neither guest OS has working sound, but there’s some effort on the part of the community to fix this with the [qemu-screamer](https://github.com/mcayland/qemu/tree/screamer) fork but I figured I should try whatever QEMU version was native to arm64 before trying this one that seems to be focused on x86 Windows and Mac.

Installers are readily available _out there_ **gestures** but I won’t link here just in case there are legal issues. The OS 9 install went extremely quickly thanks to an image called OS9Lives, which is set up to directly clone a known working disk with staple apps already installed to your bootable disk image.

For booting the OS X guest, I found the following works best:  
`qemu-system-ppc -accel tcg -L pc-bios -M mac99,via=pmu -cpu g4 -m 1024 -hda diskx.img -device VGA,edid=on,vgamem_mb=64,xres=1280,yres=720 -g 1280x720x32 -boot c -device usb-tablet`

Translation:  
QEMU PowerPC translation with acceleration, required bios: `qemu-system-ppc -accel tcg -L pc-bios`  
USB-friendly Mac with G4 processor `-M mac99,via=pmu -cpu g4`  
1 GB RAM `-m 1024`  
Has hard drive a `-hda diskx.img`  
Has a VGA graphics card with 64 MB vram `-device VGA,edid=on,vgamem_mb=64,xres=1280,yres=720`  
Display res 720p @ 32-bit color `-g 1280x720x32`  
Boot from HD image `-boot c` (swap for `-boot d` when booting from install media)  
Has a USB tablet pointing device `-device usb-tablet` (this helps smooth out the mouse pointer capture, making so it doesn’t get caught on the edges of the host window/screen)  
Add this to the list when mounting an image containing software/during installation:  
`-cdrom /path/to/diskimage.iso`

For OS X, I waited hours and hours working off two install CD images. After the first disk completes installing, the guest will try to restart but boot from the CD again. You need shut it down, change the boot flag to point towards the HDD instead of CD, then “swap” cd images like this:

Go to the monitor interface (CTRL+ALT+2)  
type `info block`  
this gives you a list of mounted drives, identify the CD-ROM, prob ide1-cd0  
`eject ide1-cd0`  
`change ide1-cd0 "/path/to/img2.iso"`  
The installer should see the new image and finish the installation.

---

<div class="post-metadata">

**Author:** ![bnys](https://community.mnt.re/user_avatar/community.mnt.re/bnys/32/35_2.png) [@bnys](https://community.mnt.re/u/bnys)\
**Post date:** [April 2, 2022, 3:34pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/2 "2022-04-02T15:34:55Z")

</div>

The end result was highly amusing, despite the trial and error…

 ![image](https://community.mnt.re/uploads/default/original/1X/e861afa5169838bd5067add617419396707e9ff8.jpeg)

---

<div class="post-metadata">

**Author:** ![2disbetter](https://community.mnt.re/user_avatar/community.mnt.re/2disbetter/32/303_2.png) [@2disbetter](https://community.mnt.re/u/2disbetter)\
**Post date:** [April 5, 2022, 9:35am UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/3 "2022-04-05T09:35:21Z")

</div>

Very cool! Despite the performance, should you be able to get the trackball working, etc, would it be enough to simply use it?

Just being able to show it booted and fullscreen on the Reform is pretty cool already!!!

---

<div class="post-metadata">

**Author:** ![bnys](https://community.mnt.re/user_avatar/community.mnt.re/bnys/32/35_2.png) [@bnys](https://community.mnt.re/u/bnys)\
**Post date:** [April 6, 2022, 8:22pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/4 "2022-04-06T20:22:37Z")

</div>

It does work but it’s so slow I wouldn’t recommend serious usage. I’m intrigued to see how it performs on a faster ARM chip or if there’s a way to give the guest more resources! If you want a video of it in use I can work on something to post 🙂

---

<div class="post-metadata">

**Author:** ![2disbetter](https://community.mnt.re/user_avatar/community.mnt.re/2disbetter/32/303_2.png) [@2disbetter](https://community.mnt.re/u/2disbetter)\
**Post date:** [April 7, 2022, 6:14am UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/5 "2022-04-07T06:14:07Z")

</div>

> [@bnys](#):
>
> If you want a video of it in use I can work on something to post 🙂

Video would be great!

---

<div class="post-metadata">

**Author:** ![bnys](https://community.mnt.re/user_avatar/community.mnt.re/bnys/32/35_2.png) [@bnys](https://community.mnt.re/u/bnys)\
**Post date:** [April 11, 2022, 12:38am UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/6 "2022-04-11T00:38:24Z")

</div>

Here are two brief clips of OS X 10.3 in use. The second one is of Activity Monitor to show how saturated the emulator is with only Safari running!

> **[mnt-reform-qemu-1.mov](https://onedrive.live.com/redir?resid=18D937E30293C838%21334628&authkey=%21AB_y5XabsahjCJo&ithint=video%2cmp4&e=TZAK7K)**
>
> MOV File

> **[mnt-reform-qemu-2.mov](https://onedrive.live.com/redir?resid=18D937E30293C838%21334627&authkey=%21AKxoUt4N4zLQafM&ithint=video%2cmp4&e=Jqe4aR)**
>
> MOV File

I should note that boot takes a looooooong time, so I started filming after it had already “warmed up” 🙂

---

<div class="post-metadata">

**Author:** ![8088mph](https://community.mnt.re/letter_avatar_proxy/v4/letter/8/a183cd/32.png) [@8088mph](https://community.mnt.re/u/8088mph)\
**Post date:** [April 17, 2022, 3:19pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/7 "2022-04-17T15:19:47Z")

</div>

I tried to compile Basilisk II without success. I didn’t spend too long on it. It has an Xcode project for M1 Macs so it should support aarch64 but the Linux Makefile does not. [GitHub - kanjitalk755/macemu: Basilisk II and SheepShaver Macintosh emulators](https://github.com/kanjitalk755/macemu/)

---

<div class="post-metadata">

**Author:** ![bnys](https://community.mnt.re/user_avatar/community.mnt.re/bnys/32/35_2.png) [@bnys](https://community.mnt.re/u/bnys)\
**Post date:** [April 17, 2022, 3:27pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/8 "2022-04-17T15:27:14Z")

</div>

I also have tried Basilisk II and Sheepshaver (which is the PPC counterpart to Basilisk) and can’t get either one to correctly launch or build depending on conditions. Basilisk II seems to get closer to launching but then doesn’t. It seems like it should work since folx report it working on Raspberry Pi.

@minute says he has gotten Basilisk to work but I have yet to ask exactly how he got it to build correctly 😆

---

<div class="post-metadata">

**Author:** ![ranjuro](https://community.mnt.re/user_avatar/community.mnt.re/ranjuro/32/488_2.png) [@ranjuro](https://community.mnt.re/u/ranjuro)\
**Post date:** [April 19, 2022, 3:04am UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/9 "2022-04-19T03:04:14Z")

</div>

I have successfully built and run BasiliskII on a Raspberry Pi. I’m currently attempting a build for Reform. If I encounter success I will post here.

---

<div class="post-metadata">

**Author:** ![8088mph](https://community.mnt.re/letter_avatar_proxy/v4/letter/8/a183cd/32.png) [@8088mph](https://community.mnt.re/u/8088mph)\
**Post date:** [April 27, 2022, 11:19pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/10 "2022-04-27T23:19:59Z")

</div>

I got Basilisk II built and running successfully

```auto
git clone https://github.com/cebix/macemu
cd macemu/BasiliskII/src/Unix/
NO_CONFIGURE=1 ./autogen.sh
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon --with-sdl2
make -j 4

```

Copy a ROM file named `ROM` to `macemu/BasiliskII/src/Unix/` and launch

```auto
./BasiliskII

```

After launching for the first time, you can edit the configuration

```auto
vim ~/.basilisk_ii_prefs

```

---

<div class="post-metadata">

**Author:** ![bnys](https://community.mnt.re/user_avatar/community.mnt.re/bnys/32/35_2.png) [@bnys](https://community.mnt.re/u/bnys)\
**Post date:** [May 1, 2022, 7:43pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/11 "2022-05-01T19:43:30Z")

</div>

I have it built!! Thanks for that. What’s your config file look like? I’m struggling to get it to boot from an install ISO or IMG file…usually get a smiley Mac and then it hangs 🤔

---

<div class="post-metadata">

**Author:** ![8088mph](https://community.mnt.re/letter_avatar_proxy/v4/letter/8/a183cd/32.png) [@8088mph](https://community.mnt.re/u/8088mph)\
**Post date:** [May 2, 2022, 11:50am UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/12 "2022-05-02T11:50:35Z")

</div>

I have no problems booting and running. After first boot, I needed to use Monitors Control Panel to change from monochrome to thousands of colors. My config is mostly defaults, I changed `screen`, `extfs`, `disk`, and `modelid` (for Quadra 900, to match my ROM).

I downloaded a HD disk image for 7.5.5 here [MacOS 7.5.5 (English) (Clean Copy) - Macintosh Repository](https://www.macintoshrepository.org/42925-macos-7-5-5-english-clean-copy-)

I’m using Quadra 900 ROM [MacROMan/1991-10 - 420DBFF3 - Quadra 700&900 & PB140&170.ROM at master · sentient06/MacROMan · GitHub](https://github.com/sentient06/MacROMan/blob/master/TestImages/1MB%20ROMs/1991-10%20-%20420DBFF3%20-%20Quadra%20700%26900%20%26%20PB140%26170.ROM)

My complete config:

```auto
displaycolordepth 0
screen win/640/480
extfs /home/reform/Downloads
disk /home/reform/macos755.img
seriala /dev/ttyS0
serialb /dev/ttyS1
udptunnel false
udpport 6066
bootdrive 0
bootdriver 0
ramsize 8388608
frameskip 6
modelid 14
cpu 3
fpu false
nocdrom false
nosound false
noclipconversion false
nogui false
jit false
jitfpu false
jitdebug false
jitcachesize 0
jitlazyflush false
jitinline false
keyboardtype 5
keycodes false
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
idlewait true

```

---

<div class="post-metadata">

**Author:** ![8088mph](https://community.mnt.re/letter_avatar_proxy/v4/letter/8/a183cd/32.png) [@8088mph](https://community.mnt.re/u/8088mph)\
**Post date:** [May 2, 2022, 12:13pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/13 "2022-05-02T12:13:38Z")

</div>

In case it wasn’t clear, I am using the repo mentioned in the commands above [GitHub - cebix/macemu: Basilisk II and SheepShaver Macintosh emulators](https://github.com/cebix/macemu)

I could not get the newer fork to work. I deleted the default config created by the newer fork and generated a new one.

---

<div class="post-metadata">

**Author:** ![bnys](https://community.mnt.re/user_avatar/community.mnt.re/bnys/32/35_2.png) [@bnys](https://community.mnt.re/u/bnys)\
**Post date:** [May 2, 2022, 5:10pm UTC](https://community.mnt.re/t/old-mac-os-on-reform-with-qemu/881/14 "2022-05-02T17:10:20Z")

</div>

Fantastic thank you! This helped a lot. I was pretty close but I think some of my images were messed up, and I was missing some lines in the config as well. Cheers!

 ![8E89D446-EBC3-4D8B-8087-DCFB7A7A1A5B_1_105_c](https://community.mnt.re/uploads/default/original/1X/b4bae78f2daac44f40045ca8afb45b8965b46123.jpeg)
