lifeblood_os/qemurun_ppc.sh
2025-09-08 20:56:44 -07:00

8 lines
No EOL
346 B
Bash
Executable file

#!/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