Skip to content

Instantly share code, notes, and snippets.

@yottatsa
Created May 26, 2022 21:51
Show Gist options
  • Select an option

  • Save yottatsa/f56611b4224f114695b60a0b2803e77e to your computer and use it in GitHub Desktop.

Select an option

Save yottatsa/f56611b4224f114695b60a0b2803e77e to your computer and use it in GitHub Desktop.
Some Macintosh Classic emulation
#!/bin/sh
cd "$(dirname "${0}")"
export QEMU_BIN=./qemu-system-m68k_946744d34d60e88cf53cb123556fa16830c7042d
exec ./run8 \
-device scsi-hd,scsi-id=2,drive=hd2,vendor="SEAGATE",product="ST225N",ver="1.0" \
-drive file=netbsd.raw,media=disk,format=raw,if=none,id=hd2 \
-device scsi-hd,scsi-id=4,drive=hd4,vendor="SEAGATE",product="ST225N",ver="1.0" \
-drive file=data.raw,media=disk,format=raw,if=none,id=hd4 \
-device scsi-hd,scsi-id=5,drive=hd5,vendor="SEAGATE",product="ST225N",ver="1.0" \
-drive file=aux.raw,media=disk,format=raw,if=none,id=hd5 \
-serial pty -serial pty \
#-device scsi-cd,scsi-id=3,drive=cd0,vendor="MATSHITA",product="CD-ROM CR-8005",ver="1.0k" \
#-drive file=netbsd.iso,media=cdrom,if=none,id=cd0 \
#!/bin/sh
cd "$(dirname "${0}")"
exec ${QEMU_BIN:-./qemu-system-m68k_f0da8bdd282b7555fc3a6f45c59a5f4df0eb2989} \
-M q800 --cpu m68040 -m 136 -g 800x600x8 \
-bios Quadra800.ROM -drive file=pram75.img,format=raw,if=mtd \
-device scsi-hd,scsi-id=0,drive=hd0,vendor="SEAGATE",product="ST225N",ver="1.0" \
-drive file=clean.raw,media=disk,format=raw,if=none,id=hd0 \
-device scsi-cd,scsi-id=3,drive=cd0,vendor="MATSHITA",product="CD-ROM CR-8005",ver="1.0k" \
-drive file=system753.iso,media=cdrom,if=none,id=cd0 \
-device scsi-hd,scsi-id=1,drive=hd1,vendor="SEAGATE",product="ST225N",ver="1.0" \
-drive file=mac75.raw,media=disk,format=raw,if=none,id=hd1 \
"$@"
#!/bin/sh
cd "$(dirname "${0}")"
exec ${QEMU_BIN:-./qemu-system-m68k_f0da8bdd282b7555fc3a6f45c59a5f4df0eb2989} \
-M q800 --cpu m68040 -m 136 -g 800x600x8 \
-bios Quadra800.ROM -drive file=pram8.img,format=raw,if=mtd \
-device scsi-hd,scsi-id=0,drive=hd0,vendor="SEAGATE",product="ST225N",ver="1.0" \
-drive file=mac8.raw,media=disk,format=raw,if=none,id=hd0 \
"$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment