Skip to content

Instantly share code, notes, and snippets.

@brunocastello
Last active November 28, 2021 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunocastello/6fd067621196d74d758faf95f98e8e0e to your computer and use it in GitHub Desktop.
Save brunocastello/6fd067621196d74d758faf95f98e8e0e to your computer and use it in GitHub Desktop.
Run MacOS9 with QEMU Screamer fork for working audio
#!/bin/sh
# Follow the steps of this guide first: https://jamesbadger.ca/2018/11/07/emulate-mac-os-9-with-qemu/
#
# MOUSE INTEGRATION BETWEEN QEMU HOST AND MACOS9 GUEST
# ----------------------------------------------------
# Use "-M mac99,via=pmu" and remove the "-device usb-kbd -device usb-tablet" before installing USBTablet
# (https://github.com/kanjitalk755/macos9-usb-tablet), then change back to "-M mac99" and re-add the removed
# usb devices above mentioned ("-device usb-kbd -device usb-tablet").
#
./qemu-screamer/bin/qemu-system-ppc -L qemu-screamer/pc-bios \
-name "MacOS 9.2" \
-M mac99,accel=tcg -cpu G4 -m 512 \
-drive id=root,file=Disks/macOS9.img,format=qcow2,l2-cache-size=4M \
-drive id=drive1,media=cdrom \
-device sungem,netdev=net0 \
-netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22 \
-device usb-tablet -device VGA,edid=on -g 1920x1080x32 \
-rtc base=localtime,clock=host -boot c -no-reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment