Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Moderators: Cat_7, Ronald P. Regensburg
Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Here is a new an greatly improved build of qemu-system-m68k.exe for Windows.
(18-09-2022)
Qemu-system-m68k-Win64-18-09-2022.zip
https://surfdrive.surf.nl/files/index.p ... P/download
Use it with our updated guide: https://www.emaculation.com/doku.php/m6 ... on-windows
Improvements:
-The capability to run Mac OS 7-8, AUX 3 and NetBSD is now integrated into 1 executable.
-Specifying disk and cdrom entries on the command line has been simplified.
-Audio stuttering should be solved (except for limited stuttering during the startup sound).
-Virtual Memory now works.
Have fun,
Cat_7
(18-09-2022)
Qemu-system-m68k-Win64-18-09-2022.zip
https://surfdrive.surf.nl/files/index.p ... P/download
Use it with our updated guide: https://www.emaculation.com/doku.php/m6 ... on-windows
Improvements:
-The capability to run Mac OS 7-8, AUX 3 and NetBSD is now integrated into 1 executable.
-Specifying disk and cdrom entries on the command line has been simplified.
-Audio stuttering should be solved (except for limited stuttering during the startup sound).
-Virtual Memory now works.
Have fun,
Cat_7
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Here are our experimental builds:
(01-01-2022)
Qemu-m68k-Win64-qfb-experimental-01-10-2022.zip
https://surfdrive.surf.nl/files/index.p ... r/download
Improvements: This build allows Mac OS and A/UX to run in a multiple monitor setup.
Due to differences in the pram file and the included rom file to enable the displays, you should place this download in its own folder.
(01-01-2022)
Qemu-m68k-Win64-qfb-experimental-01-10-2022.zip
https://surfdrive.surf.nl/files/index.p ... r/download
Improvements: This build allows Mac OS and A/UX to run in a multiple monitor setup.
Due to differences in the pram file and the included rom file to enable the displays, you should place this download in its own folder.
-
- Student Driver
- Posts: 10
- Joined: Sun Sep 05, 2021 3:44 am
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
I'm curious what repository I could download this build from to compile it for Linux.
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Hi,
qemu-system-m68k was compiled from the q800.upstream2-vm branch at https://github.com/mcayland/qemu
qemu-system-m68k with arbitrary resolutions and multi display option was compiled from the arbitrary-resolutions branch at https://github.com/SolraBizna/qemu
Best,
Cat_7
qemu-system-m68k was compiled from the q800.upstream2-vm branch at https://github.com/mcayland/qemu
qemu-system-m68k with arbitrary resolutions and multi display option was compiled from the arbitrary-resolutions branch at https://github.com/SolraBizna/qemu
Best,
Cat_7
-
- Student Driver
- Posts: 10
- Joined: Sun Sep 05, 2021 3:44 am
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Thank you. I've had a lot of luck running Mac OS 7.1 and 7.5.x in previous builds, but haven't tried AUX yet, will try it with this build.
-
- Student Driver
- Posts: 10
- Joined: Sun Sep 05, 2021 3:44 am
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
I think it worked, but I've never installed AUX before, but this command shell and the boot screens make me think it worked.

I was also able to install Mac OS 7.5.1 with this same build.

I was also able to install Mac OS 7.5.1 with this same build.
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Sure, that is A/UX. System 7.0.1 would otherwise not run in Qemu.
Best,
Cat_7
Best,
Cat_7
- adespoton
- Forum All-Star
- Posts: 3934
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
I was wondering: is there any notable difference between A/UX's 7.0.1 and bare metal 7.0.1? Because this is a useful way of extending the OS range that QEMU can run on.
Actually, I just realized: System 7.0 should run natively on the current emulated Quadra... as long as you install https://www.aux-penelope.com/jagubox/AA ... er.img.hqx in the Extensions folder. Has anyone tried this yet?
And for those trying to figure out how to install A/UX: everything you need is available here: https://www.aux-penelope.com/aux_3.0.htm
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
With the exception that Qemu will not run from the floppy images available there. And the networking guide over there will not do. Best follow:And for those trying to figure out how to install A/UX: everything you need is available here: https://www.aux-penelope.com/aux_3.0.htm
https://www.emaculation.com/doku.php/m6 ... in_windows
Best,
Cat_7
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
It's been years since I last used this account, so hello again!adespoton wrote: ↑Fri Oct 07, 2022 10:40 pm Actually, I just realized: System 7.0 should run natively on the current emulated Quadra... as long as you install https://www.aux-penelope.com/jagubox/AA ... er.img.hqx in the Extensions folder. Has anyone tried this yet?
I actually tried installing the System Enabler 040 extension (both version 1.0, available in the System 7.1 hard disk image provided in the QEMU Emaculation guide, and 1.1, which you've kindly provided here) onto installs of both System 7.0.1 and System 7.1b7 (a beta release of 7.1 dated about two months before the GM build) on the current QEMU builds provided here. Unfortunately, neither of them led to much success; the System 7.0.1 installs still errored out as follows when trying to boot from them:

The System 7.1 beta had a more interesting result; QEMU gets to the Happy Mac, but then stalls there indefinitely on the regular build. On the experimental FB build, the screen goes black almost instantly after the Happy Mac (screenshot shown below).

Based on these two results, it does seem that the GM release of System 7.1 is the earliest bare metal Mac OS that runs on QEMU currently.
- adespoton
- Forum All-Star
- Posts: 3934
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Well, I've successfully got A/UX 3.1.1 installed, so my next step is to take the System 7.0.1 System folder off of that boot, and give it its own image, to see if it boots. After that, I'll compare it with the retail 7.0.1 to see what's different.
But no matter what, you're going to need the 040 enabler extension before 7.0.1 will boot on a Quadra.
[edit] Looks like the special A/UX Mac driver partition is needed for 701 to boot. I can't even get the System Folder to bless on my Mac OS 8.1 image.
[edit2] I tried just using the A/UX installer to install System 7 without A/UX, and got the same hardware boot error (although it said "This version of System 7.1" which was odd).
But no matter what, you're going to need the 040 enabler extension before 7.0.1 will boot on a Quadra.
[edit] Looks like the special A/UX Mac driver partition is needed for 701 to boot. I can't even get the System Folder to bless on my Mac OS 8.1 image.
[edit2] I tried just using the A/UX installer to install System 7 without A/UX, and got the same hardware boot error (although it said "This version of System 7.1" which was odd).
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Build works great! I'm using it with MacOS 7.5.5 and it's been terrific. Love that it's "real" emulation, rather than hooking exceptions like Basilisk - MacBugs works now
Does anyone know if it's possible to specify the CPU emulation speed? It's super fast, which is generally great - but I'm testing some old code and would like to see if I can get it closer to the real performance!

Does anyone know if it's possible to specify the CPU emulation speed? It's super fast, which is generally great - but I'm testing some old code and would like to see if I can get it closer to the real performance!
- adespoton
- Forum All-Star
- Posts: 3934
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Nope; QEMU still isn't quite "real" emulation. You can adjust the clock speed, but you can't adjust the speed QEMU actually emulates at.superpete wrote: ↑Wed Mar 01, 2023 10:29 pm Build works great! I'm using it with MacOS 7.5.5 and it's been terrific. Love that it's "real" emulation, rather than hooking exceptions like Basilisk - MacBugs works now![]()
Does anyone know if it's possible to specify the CPU emulation speed? It's super fast, which is generally great - but I'm testing some old code and would like to see if I can get it closer to the real performance!
However, there's a great discussion about using system extensions to accomplish this over at https://macintoshgarden.org/forum/syste ... a-real-mac - you may want to check that out.
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
I wanted to share my own compiled 32bit Windows binary since I needed to attach my SCSI HDD through an Adaptec USB2Xchange adapter which only has 32bit Windows drivers. It is working great on Windows 10 inside KVM/Qemu. This is also based off the latest patch.
qemu-system-m68k_w32_q800.upstream2-vm_20230117_f25b347.zip
If you want to attach a drive, add something like this to the *.bat file:
Where N is your drive number, 0 is the first hard disk. You need to run the *.bat as admin when attaching a physical drive.
qemu-system-m68k_w32_q800.upstream2-vm_20230117_f25b347.zip
If you want to attach a drive, add something like this to the *.bat file:
Code: Select all
-device scsi-hd,scsi-id=6,drive=hd6 ^
-drive file=\\.\PhysicalDriveN,media=disk,format=raw,if=none,id=hd6
- adespoton
- Forum All-Star
- Posts: 3934
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Thanks for sharing! It's great that the ancient SCSI BII build and SoftMac XP are no longer the only SCSI hardware-supporting emulators in towngmipf wrote: ↑Thu Apr 06, 2023 8:42 pm I wanted to share my own compiled 32bit Windows binary since I needed to attach my SCSI HDD through an Adaptec USB2Xchange adapter which only has 32bit Windows drivers. It is working great on Windows 10 inside KVM/Qemu. This is also based off the latest patch.
qemu-system-m68k_w32_q800.upstream2-vm_20230117_f25b347.zip
If you want to attach a drive, add something like this to the *.bat file:Where N is your drive number, 0 is the first hard disk. You need to run the *.bat as admin when attaching a physical drive.Code: Select all
-device scsi-hd,scsi-id=6,drive=hd6 ^ -drive file=\\.\PhysicalDriveN,media=disk,format=raw,if=none,id=hd6

Anyone know how easy this would be to do on macOS/Linux?
-
- Space Cadet
- Posts: 2
- Joined: Wed Apr 12, 2023 12:26 am
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Hi. I've been trying to get a setup going with Mac OS 7, but have been encountering some issues.
- I followed the guide from https://www.emaculation.com/doku.php/m6 ... on-windows and got 7 up and running, but I can't figure out a way to get it to read CDs, or any way to get any files on the drive from Windows. I installed CD ROM support and QuickTime from the 7.1 drive, though the CD ROM control panel says it isn't supported on this mac.
- Usually I use TransMac or HFS Explorer, but both of those are saying that the drive formatted with the HD SC Tool aren't HFS drives. Mac System 7 within Qemu-m68k is saying that it is a HFS drive. Normally HFS Explorer etc. work with Basilisk II etc..
Here's an example of my .bat, though I can only ever get it to read the 7.1 disk in hard drive mode as pointed to in the guide and the link in it:
----------
"qemu-system-m68k.exe" ^
-L "pc-bios" ^
-M q800 ^
-m 128 ^
-bios quadra800.ROM ^
-display sdl ^
-drive "file=pram-macos.img,format=raw,if=mtd" ^
-device scsi-hd,scsi-id=0,drive=hd0 ^
-drive "file=MacOS7.img,media=disk,format=raw,if=none,id=hd0" ^
-device scsi-hd,scsi-id=1,drive=hd1 ^
-drive "file=MacOS753.dsk,media=disk,format=raw,if=none,id=hd1" ^
-device scsi-cd,scsi-id=3,drive=cd0 ^
-drive "file=s7.toast,media=cdrom,if=none,id=cd0"
-----------
Nothing with scsi-cd/cd0 seems to work, and neither scsi-hd/cd works with iso/toast files. It starts ok with them, just nothing happens.
- I followed the guide from https://www.emaculation.com/doku.php/m6 ... on-windows and got 7 up and running, but I can't figure out a way to get it to read CDs, or any way to get any files on the drive from Windows. I installed CD ROM support and QuickTime from the 7.1 drive, though the CD ROM control panel says it isn't supported on this mac.
- Usually I use TransMac or HFS Explorer, but both of those are saying that the drive formatted with the HD SC Tool aren't HFS drives. Mac System 7 within Qemu-m68k is saying that it is a HFS drive. Normally HFS Explorer etc. work with Basilisk II etc..
Here's an example of my .bat, though I can only ever get it to read the 7.1 disk in hard drive mode as pointed to in the guide and the link in it:
----------
"qemu-system-m68k.exe" ^
-L "pc-bios" ^
-M q800 ^
-m 128 ^
-bios quadra800.ROM ^
-display sdl ^
-drive "file=pram-macos.img,format=raw,if=mtd" ^
-device scsi-hd,scsi-id=0,drive=hd0 ^
-drive "file=MacOS7.img,media=disk,format=raw,if=none,id=hd0" ^
-device scsi-hd,scsi-id=1,drive=hd1 ^
-drive "file=MacOS753.dsk,media=disk,format=raw,if=none,id=hd1" ^
-device scsi-cd,scsi-id=3,drive=cd0 ^
-drive "file=s7.toast,media=cdrom,if=none,id=cd0"
-----------
Nothing with scsi-cd/cd0 seems to work, and neither scsi-hd/cd works with iso/toast files. It starts ok with them, just nothing happens.
- adespoton
- Forum All-Star
- Posts: 3934
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
The only issue I see there is "-L "pc-bios" ^" which I don't think should be included for this architecture. Perhaps that's causing issues?MetalPlateMage wrote: ↑Wed Apr 12, 2023 12:40 am Hi. I've been trying to get a setup going with Mac OS 7, but have been encountering some issues.
- I followed the guide from https://www.emaculation.com/doku.php/m6 ... on-windows and got 7 up and running, but I can't figure out a way to get it to read CDs, or any way to get any files on the drive from Windows. I installed CD ROM support and QuickTime from the 7.1 drive, though the CD ROM control panel says it isn't supported on this mac.
- Usually I use TransMac or HFS Explorer, but both of those are saying that the drive formatted with the HD SC Tool aren't HFS drives. Mac System 7 within Qemu-m68k is saying that it is a HFS drive. Normally HFS Explorer etc. work with Basilisk II etc..
Here's an example of my .bat, though I can only ever get it to read the 7.1 disk in hard drive mode as pointed to in the guide and the link in it:
----------
"qemu-system-m68k.exe" ^
-L "pc-bios" ^
-M q800 ^
-m 128 ^
-bios quadra800.ROM ^
-display sdl ^
-drive "file=pram-macos.img,format=raw,if=mtd" ^
-device scsi-hd,scsi-id=0,drive=hd0 ^
-drive "file=MacOS7.img,media=disk,format=raw,if=none,id=hd0" ^
-device scsi-hd,scsi-id=1,drive=hd1 ^
-drive "file=MacOS753.dsk,media=disk,format=raw,if=none,id=hd1" ^
-device scsi-cd,scsi-id=3,drive=cd0 ^
-drive "file=s7.toast,media=cdrom,if=none,id=cd0"
-----------
Nothing with scsi-cd/cd0 seems to work, and neither scsi-hd/cd works with iso/toast files. It starts ok with them, just nothing happens.
You may also want to start off with System 7.5.3 or higher to get things working, and then use a runnable OS to install 7.1 to a different virtual disk. 7.1 doesn't come with a number of extensions by default, although adding Quicktime adds some of them (like the sound manager). File System Manager is also useful.
The problem with the disk images is that BII mounts partition images, whereas QEMU mounts full drive images (it'll have the HFS partition but also the driver partition and a few others). The partition is presented to the SCSI manager which then operates like a real SCSI controller, where BII just reads the HFS data directly from the partition image and bypasses the drivers, SCSI controller, etc. Also, if you're not using raw mode (eg, you use qcow2 images), they'll be in a format most tools don't recognize. That said, HFV Explorer *should* be able to read a full disk image and just pull out the HFS partition.
-
- Space Cadet
- Posts: 2
- Joined: Wed Apr 12, 2023 12:26 am
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
Right the problem is I haven’t been able to get m68k to recognize any disk or cd images , and the only reason i got 7.1 working was that he guide provided an old school hfs hard drive image instead. All my other drives are in the newer format that can only be read by powerpcs.adespoton wrote: ↑Wed Apr 12, 2023 4:55 pmThe only issue I see there is "-L "pc-bios" ^" which I don't think should be included for this architecture. Perhaps that's causing issues?MetalPlateMage wrote: ↑Wed Apr 12, 2023 12:40 am Hi. I've been trying to get a setup going with Mac OS 7, but have been encountering some issues.
- I followed the guide from https://www.emaculation.com/doku.php/m6 ... on-windows and got 7 up and running, but I can't figure out a way to get it to read CDs, or any way to get any files on the drive from Windows. I installed CD ROM support and QuickTime from the 7.1 drive, though the CD ROM control panel says it isn't supported on this mac.
- Usually I use TransMac or HFS Explorer, but both of those are saying that the drive formatted with the HD SC Tool aren't HFS drives. Mac System 7 within Qemu-m68k is saying that it is a HFS drive. Normally HFS Explorer etc. work with Basilisk II etc..
Here's an example of my .bat, though I can only ever get it to read the 7.1 disk in hard drive mode as pointed to in the guide and the link in it:
----------
"qemu-system-m68k.exe" ^
-L "pc-bios" ^
-M q800 ^
-m 128 ^
-bios quadra800.ROM ^
-display sdl ^
-drive "file=pram-macos.img,format=raw,if=mtd" ^
-device scsi-hd,scsi-id=0,drive=hd0 ^
-drive "file=MacOS7.img,media=disk,format=raw,if=none,id=hd0" ^
-device scsi-hd,scsi-id=1,drive=hd1 ^
-drive "file=MacOS753.dsk,media=disk,format=raw,if=none,id=hd1" ^
-device scsi-cd,scsi-id=3,drive=cd0 ^
-drive "file=s7.toast,media=cdrom,if=none,id=cd0"
-----------
Nothing with scsi-cd/cd0 seems to work, and neither scsi-hd/cd works with iso/toast files. It starts ok with them, just nothing happens.
You may also want to start off with System 7.5.3 or higher to get things working, and then use a runnable OS to install 7.1 to a different virtual disk. 7.1 doesn't come with a number of extensions by default, although adding Quicktime adds some of them (like the sound manager). File System Manager is also useful.
The problem with the disk images is that BII mounts partition images, whereas QEMU mounts full drive images (it'll have the HFS partition but also the driver partition and a few others). The partition is presented to the SCSI manager which then operates like a real SCSI controller, where BII just reads the HFS data directly from the partition image and bypasses the drivers, SCSI controller, etc. Also, if you're not using raw mode (eg, you use qcow2 images), they'll be in a format most tools don't recognize. That said, HFV Explorer *should* be able to read a full disk image and just pull out the HFS partition.
And actually moreso like you mentioned i couldn’t get m68k to recognize the b2 hard drive images i have.
Ill look into the pc bios thing though i think thats just the directory for the quadra rom?
Worst case i could send someone mu qemu folder or vice versa heh.
Back in the day i hacked B2 so it would play the shadowwraith soundtrack but i remember the source being a bit wild and nowadays qemu seems to be better in general.
Im trying to get kq6 and dungeon master ii disks i have running and B2 doesn’t emulate the hardware layer enough and those don’t work on system 8 or powerpcs.
Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD
This seems strange. Qemu cannot read any iso?
I can add cd images and read them when I set the Mac OS 7.1 drive as startup disk (I have system 7.1.1 installed). See batch file:
qemu-system-m68k.exe ^
-M q800 ^
-drive file=pram-macos.img,format=raw,if=mtd ^
-m 128 ^
-rtc base=localtime ^
-bios Quadra800.rom ^
-display sdl ^
-nic tap,model=dp83932,mac=08:00:07:12:34:56,ifname=TapQemu1 ^
-device scsi-hd,scsi-id=0,drive=hd0 ^
-drive file=c:\mac-hd\system753ppc.img,format=raw,media=disk,if=none,id=hd0 ^
-device scsi-hd,scsi-id=1,drive=hd1 ^
-drive file=c:\mac-hd\system8.0.img,format=raw,media=disk,if=none,id=hd1 ^
-device scsi-hd,scsi-id=2,drive=hd2 ^
-drive file=c:\mac-hd\system7.6.img,format=raw,media=disk,if=none,id=hd2 ^
-device scsi-hd,scsi-id=3,drive=hd3 ^
-drive file=c:\mac-hd\system7.1.img,format=raw,media=disk,if=none,id=hd3 ^
-device scsi-cd,scsi-id=4,drive=cd0 ^
-drive file=c:\Mac-iso\8.1.iso,format=raw,media=cdrom,if=none,id=cd0 ^
-device scsi-cd,scsi-id=5,drive=cd1 ^
-drive file=c:\Mac-iso\AppleLegacyRecovery.iso,format=raw,media=cdrom,if=none,id=cd1
Best,
Cat_7
I can add cd images and read them when I set the Mac OS 7.1 drive as startup disk (I have system 7.1.1 installed). See batch file:
qemu-system-m68k.exe ^
-M q800 ^
-drive file=pram-macos.img,format=raw,if=mtd ^
-m 128 ^
-rtc base=localtime ^
-bios Quadra800.rom ^
-display sdl ^
-nic tap,model=dp83932,mac=08:00:07:12:34:56,ifname=TapQemu1 ^
-device scsi-hd,scsi-id=0,drive=hd0 ^
-drive file=c:\mac-hd\system753ppc.img,format=raw,media=disk,if=none,id=hd0 ^
-device scsi-hd,scsi-id=1,drive=hd1 ^
-drive file=c:\mac-hd\system8.0.img,format=raw,media=disk,if=none,id=hd1 ^
-device scsi-hd,scsi-id=2,drive=hd2 ^
-drive file=c:\mac-hd\system7.6.img,format=raw,media=disk,if=none,id=hd2 ^
-device scsi-hd,scsi-id=3,drive=hd3 ^
-drive file=c:\mac-hd\system7.1.img,format=raw,media=disk,if=none,id=hd3 ^
-device scsi-cd,scsi-id=4,drive=cd0 ^
-drive file=c:\Mac-iso\8.1.iso,format=raw,media=cdrom,if=none,id=cd0 ^
-device scsi-cd,scsi-id=5,drive=cd1 ^
-drive file=c:\Mac-iso\AppleLegacyRecovery.iso,format=raw,media=cdrom,if=none,id=cd1
Best,
Cat_7