By default, Mini vMac emulates a Macintosh Plus. Another popular model
that Mini vMac emulates is a Macintosh II because it offers more memory
(8MB instead of 4MB), a larger screen, and color.

There are other machines available to emulate, but unfortunately I
don't have the capacity to test them at the moment, so I'll get to them
in the future.

OK? 

Tested on amd64 and sound is working. When testing, one can find a
Macintosh II ROM on https://cancel.fm/hyperjam/

-- 
he/him
jagtalon.net
weirder.earth/@jag
Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/minivmac/Makefile,v
diff -u -p -u -r1.2 Makefile
--- Makefile	24 Jul 2024 01:02:27 -0000	1.2
+++ Makefile	30 Jul 2024 01:43:20 -0000
@@ -2,7 +2,7 @@ ONLY_FOR_ARCHS =	i386 amd64 powerpc
 
 COMMENT =		early macintosh emulator
 V =			36.04
-REVISION =		0
+REVISION =		1
 DISTNAME =		minivmac-${V}
 
 CATEGORIES =		emulators
@@ -33,12 +33,23 @@ SETUP_FLAGS-amd64 = 	-t ob64
 SETUP_FLAGS-i386 = 	-t obsd
 SETUP_FLAGS-powerpc = 	-t obsd -cpu ppc
 
+FLAVORS = 		ii se
+FLAVOR ?=
+
+# Emulate the Macintosh Plus by default
+MODEL =			-m Plus
+
+# Macintosh II
+.if ${FLAVOR:Mii}
+MODEL =			-m II
+.endif
+
 post-extract:
 	cp ${FILESDIR}/SGLUSNIO.h ${WRKSRC}/src
 
 do-gen:
 	cd ${WRKSRC}; cc setup/tool.c -o setup_t && \
-		./setup_t ${SETUP_FLAGS-${MACHINE_ARCH}} > gen && \
+		./setup_t ${SETUP_FLAGS-${MACHINE_ARCH}} ${MODEL} > gen && \
 		sh ./gen
 
 do-install:
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/emulators/minivmac/pkg/DESCR,v
diff -u -p -u -r1.1.1.1 DESCR
--- pkg/DESCR	18 Jul 2024 01:58:15 -0000	1.1.1.1
+++ pkg/DESCR	30 Jul 2024 01:43:20 -0000
@@ -1 +1,5 @@
-Macintosh Plus emulator.
+Early Macintosh emulator for computers that Apple sold from 1984 to 1996 based
+on Motorola's 680x0 microprocessors. By default, it emulates a Macintosh Plus.
+
+Flavors:
+	ii	- Emulate a Macintosh II

Reply via email to