Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

About Qemu-system-m68k, a m68k Mac emulator for Windows, macOS and Linux that can run MacOS 7.1 to 8.1, AUX 3.x and NetBSD

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
Cat_7
Expert User
Posts: 5897
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

Post by Cat_7 »

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
User avatar
Cat_7
Expert User
Posts: 5897
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

Post by Cat_7 »

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.
peanutbutter71
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

Post by peanutbutter71 »

I'm curious what repository I could download this build from to compile it for Linux.
User avatar
Cat_7
Expert User
Posts: 5897
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

Post by Cat_7 »

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
peanutbutter71
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

Post by peanutbutter71 »

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.
peanutbutter71
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

Post by peanutbutter71 »

I think it worked, but I've never installed AUX before, but this command shell and the boot screens make me think it worked.

Image

I was also able to install Mac OS 7.5.1 with this same build.
User avatar
Cat_7
Expert User
Posts: 5897
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

Post by Cat_7 »

Sure, that is A/UX. System 7.0.1 would otherwise not run in Qemu.

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 3878
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

Post by adespoton »

Cat_7 wrote: Fri Oct 07, 2022 7:22 pm Sure, that is A/UX. System 7.0.1 would otherwise not run in Qemu.

Best,
Cat_7
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
User avatar
Cat_7
Expert User
Posts: 5897
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

Post by Cat_7 »

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
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:
https://www.emaculation.com/doku.php/m6 ... in_windows

Best,
Cat_7
User avatar
sidoh
Tinkerer
Posts: 51
Joined: Sun Aug 21, 2016 12:59 am
Location: Unknown

Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

Post by sidoh »

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?
It's been years since I last used this account, so hello again!
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:

Image

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).

Image

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.
User avatar
adespoton
Forum All-Star
Posts: 3878
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

Post by adespoton »

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).
superpete
Inquisitive Elf
Posts: 27
Joined: Sat Nov 26, 2011 3:08 am

Re: Qemu-system-m68k-Win64 to run Mac OS 7-8 / AUX3.x / NetBSD

Post by superpete »

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 :lol:

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!
User avatar
adespoton
Forum All-Star
Posts: 3878
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

Post by adespoton »

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 :lol:

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!
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.

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.
Post Reply