Qemu-system-m68k for Windows to run MacOS 7.1-8.1

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

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

Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

Thanks to the awesome work by some of the Qemu developers, you can now run Mac 7.1 to 8.1 with Qemu, emulating a Quadra 800 machine:

Note: downloads removed, see topic: viewtopic.php?t=11727

Download an experimental, alpha build here:
Guide is here: https://www.emaculation.com/doku.php/m6 ... on-windows

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 4226
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by adespoton »

That's great news! Congrats to everyone who worked so hard to get things to this point... it's been a lot of work over a long time.

And you know what... MACE is almost at the point where it could be dropped in as a replacement for the Quadra ROM image, assuming Pukka & Co. are willing to release it under a compatible license. At that point, QEMU could run it without the licensing issues.
zinzingoo
Space Cadet
Posts: 5
Joined: Thu Aug 26, 2021 1:29 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by zinzingoo »

I get this error !

...
Loaded Quadra800ROM.elf symbols!
qemu-system-m68k-MACOS-alpha.exe: could not load MacROM 'Quadra800.rom'

'Quadra800.rom' is missing !!!
zinzingoo
Space Cadet
Posts: 5
Joined: Thu Aug 26, 2021 1:29 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by zinzingoo »

I test-it with 'Quadra650.rom', the cdrom work, but the disk image is not recognized ?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

Hi,

Do you have a image of the cd rom from which you want to install? And did you create the disk image to install on?

Our guide is here:
https://www.emaculation.com/doku.php/m6 ... on-windows

Please show us the content of the bat file with which you are trying to run Qemu.

Best,
Cat_7
zinzingoo
Space Cadet
Posts: 5
Joined: Thu Aug 26, 2021 1:29 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by zinzingoo »

The cdrom(macos7) is ok, but no disk image (in qemu) ?
Image
https://i.ibb.co/xGFZbYJ/qemu-68k.jpg
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

Ah, I see.

As on a real mac, you first need to use the Drive setup program to partition the disk before you can install onto it.
You can find it in the Utilities folder on the CD.

Best,
Cat_7
zinzingoo
Space Cadet
Posts: 5
Joined: Thu Aug 26, 2021 1:29 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by zinzingoo »

Yes,I did-it, the disk-image is formated and have system bootable on basilisk II.

plesae, point me where i can find quadra800.rom on the Net.
zinzingoo
Space Cadet
Posts: 5
Joined: Thu Aug 26, 2021 1:29 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by zinzingoo »

Please witch version of qemu you have build,

i have build my-self :

the officiel : https://git.qemu.org/?p=qemu.git;a=summary,
the mcayland version https://github.com/mcayland/qemu,
and the vivier version https://github.com/vivier/qemu-m68k.

without succes !
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

Hi,

You would have to search for a quadra 800 rom yourself, I can't even remember where I got mine.
The Qemu version you can download here was built from: https://gitlab.com/mcayland/qemu/tree/q800.upstream
You should revert the last commit to that repository get a binary that can boot and run AUX.

Best,
Cat_7
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by ClockWise »

Awesome work setting up this guide. You're the best!
Beerfloat
Space Cadet
Posts: 5
Joined: Mon Jan 13, 2020 4:20 pm

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Beerfloat »

Guide worked a treat, thanks guys.
Got MacOS 8.1 up and running on first try.

Now to try some games and applications!
peanutbutter71
Student Driver
Posts: 10
Joined: Sun Sep 05, 2021 3:44 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by peanutbutter71 »

Cat_7 wrote: Tue Aug 31, 2021 9:30 pm Hi,

You would have to search for a quadra 800 rom yourself, I can't even remember where I got mine.
The Qemu version you can download here was built from: https://gitlab.com/mcayland/qemu/tree/q800.upstream
You should revert the last commit to that repository get a binary that can boot and run A/UX.

Best,
Cat_7
Hi Cat_7, what is the command you run to revert the last commit? "git reset --soft HEAD~1"?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

Hi,

I updated the build instruction. If you build the code from that new location there is no need to revert the last commit to get a binary that can boot Mac OS.
Instead you would have to revert the last commit to build a binary that can run A/UX

I normally find the commit sha by looking at the commit overview in the repository and then copy/paste the commit sha behind git revert, so in this case:
git revert bebd4f172da7b3c66f97fde4f8e4fb9a48beecda

There must be better/easier ways.....

Best,
Cat_7
Beerfloat
Space Cadet
Posts: 5
Joined: Mon Jan 13, 2020 4:20 pm

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Beerfloat »

Impressions:
- Using -sdl in the startup .BAT because otherwise the mouse grabbing is really janky
- Regardless of -sdl, sound does not yet seem to work (tried MacOS 7.5.5 and 8.1). I get an error message 'dsound: warning: Voice is not playing' when trying to use any sound.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

Hi,

Yes the -sdl option is needed to make the Windows build usable.
The sound issue seems related to your machine.

Best,
Cat_7
Beerfloat
Space Cadet
Posts: 5
Joined: Mon Jan 13, 2020 4:20 pm

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Beerfloat »

Cat_7 wrote: Wed Sep 08, 2021 11:20 am Hi,

Yes the -sdl option is needed to make the Windows build usable.
The sound issue seems related to your machine.

Best,
Cat_7
Ok thanks. I did try it on 2 different PCs, an AMD Ryzen 5900 desktop and an Intel Core i7-8750H laptop both running latest Windows 10 build and the sound error message is the same.

I'm just running the experimental alpha build from surfdrive as is. Should I perhaps be installing this over another distribution of qemu for Windows? I might just be missing some libraries here.
Noticed some stuff like qemu-img is not included with the build.
Last edited by Beerfloat on Wed Sep 08, 2021 11:48 am, edited 1 time in total.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

Hi,

I wrote
The sound issue seems related to your machine.
as I saw a similar messages a few days ago, while others (include me) do not have this issue.
If qemu-img is missing, that is my bad. I 'll include it in a future build.

In the meantime it is not advisable to mix downloads as the dlls included can have different version numbers due to updates to my build environment.

Best,
Cat_7
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by eawo2k4 »

That's some good news! can't wait to try it! :), Would the Quadra, Centris 610,650,800 rom work with Qemu? or it needs to be the actual Quadra 800 rom?
Beerfloat
Space Cadet
Posts: 5
Joined: Mon Jan 13, 2020 4:20 pm

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Beerfloat »

eawo2k4 wrote: Thu Sep 09, 2021 11:27 pm That's some good news! can't wait to try it! :), Would the Quadra, Centris 610,650,800 rom work with Qemu? or it needs to be the actual Quadra 800 rom?
This one works:
F1ACAD13 - Quadra 610,650,maybe 800.ROM
Beerfloat
Space Cadet
Posts: 5
Joined: Mon Jan 13, 2020 4:20 pm

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Beerfloat »

Cat_7 wrote: Wed Sep 08, 2021 12:08 pm Hi,

I wrote
The sound issue seems related to your machine.
as I saw a similar messages a few days ago, while others (include me) do not have this issue.
If qemu-img is missing, that is my bad. I 'll include it in a future build.

In the meantime it is not advisable to mix downloads as the dlls included can have different version numbers due to updates to my build environment.

Best,
Cat_7
So noted.
Actually, though it prints the message about the voice not playing, I've found it does actually play sound.
It's still not quite right as it keeps echoing until I shut down the instance but it's encouraging.
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by eawo2k4 »

Beerfloat wrote: Fri Sep 10, 2021 8:32 am
eawo2k4 wrote: Thu Sep 09, 2021 11:27 pm That's some good news! can't wait to try it! :), Would the Quadra, Centris 610,650,800 rom work with Qemu? or it needs to be the actual Quadra 800 rom?
This one works:
F1ACAD13 - Quadra 610,650,maybe 800.ROM
Ok, Cool! I have tried that one but qemu won't open up
User avatar
adespoton
Forum All-Star
Posts: 4226
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by adespoton »

What does your command line look like?
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by eawo2k4 »

qemu-system-m68k.exe ^
-L pc-bios ^
-M q800 ^
-bios 1993-02 - F1ACAD13 - Quadra, Centris 610,650,800.ROM ^
-boot d ^
-drive file=pram-macos.img,format=raw,if=mtd ^
-device scsi-hd,scsi-id=0,drive=hd0,vendor="SEAGATE",product="ST225N",ver="1.0" ^
-drive file=MacOS8.0.img,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=MacOS8.0.iso,media=cdrom,if=none,id=cd0
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu-system-m68k for Windows to run MacOS 7.1-8.1

Post by Cat_7 »

I guess that without quotes around the bios name containing spaces the batch file will not continue to run, so either:

-bios "1993-02 - F1ACAD13 - Quadra, Centris 610,650,800.ROM" ^
or rename the bios file to e.g. 800.ROM and change the -bios line to:
-bios 800.ROM

Best,
Cat_7
Post Reply