Qemu m68k virtio drivers for 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

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

Qemu m68k virtio drivers for MacOS 7.1-8.1

Post by Cat_7 »

Thanks to the hard work by Elliotnunn and Mcayland, we now have a qemu-system-m68k build supporing:
-file sharing with the host
-tablet mouse

macOS host
[25-12-2023]
Qemu-system-m68k-macOS-virtio-25-12-2023.zip
https://surfdrive.surf.nl/files/index.p ... F/download

The latest version of the declrom file can be downloaded here: https://github.com/elliotnunn/classicvi ... tag/latest
30-03-2024: the latest version fixes a bus error when sharing a local folder.

See below for a command line example:

Code: Select all

#!/bin/bash
cd "$(dirname "$0")"

./qemu-system-m68k \
-M q800 \
-bios Quadra800.rom \
-m 128 \
-display cocoa \
-drive file=pram.img,format=raw,if=mtd \
-device scsi-hd,scsi-id=3,drive=hd1 \
-drive file=8.1.img,media=disk,format=raw,if=none,id=hd1 \
-device nubus-virtio-mmio,romfile=declrom \
-device virtio-tablet-device \
-device virtio-9p-device,fsdev=UNIQUENAME,mount_tag="Macintosh HD" \
-fsdev local,id=UNIQUENAME,security_model=none,path=/path-to-folder-on-host
Windows host
There will be no windows build, as the required 9p patches do not apply to the source code that makes qemu support the quadra800.

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

Re: Qemu m68k virtio drivers for MacOS 7.1-8.1

Post by adespoton »

Wow... that's quite a Christmas present! How difficult would it be to merge this with the screen patches so file sharing and arbitrary resolutions are both supported?
User avatar
Cat_7
Expert User
Posts: 6176
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu m68k virtio drivers for MacOS 7.1-8.1

Post by Cat_7 »

Work is being done in that area. They can already run together, but there are some issues.

Best,
Cat_7
User avatar
SolraBizna
Inquisitive Elf
Posts: 32
Joined: Mon Sep 27, 2021 1:39 am

Re: Qemu m68k virtio drivers for MacOS 7.1-8.1

Post by SolraBizna »

Specifically, the nubus-virtio-mmio device needs to be in the first slot. You have to use "-M q800,fb=none", create the nubus-virtio-mmio device, and then do something like "-device nubus-qfb,width=960,height=600,depth=16" afterward.
Post Reply