#!/usr/bin/env bash # todo: this is incredibly system specific, change it sudo losetup -fP test_ppc.img sudo ./load_ppc.sh /dev/loop0p2 sudo losetup -d /dev/loop0 qemu-system-ppc -machine mac99,via=pmu -L pc-bios -display sdl -prom-env "auto-boot?=true" -prom-env "boot-device=hd:,lbos" -drive if=ide,format=raw,file=test_ppc.img,index=1 -m 256