Switch to full style
About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.
Post a reply

Fun with 24 bit dirty ROM and System 6

Sat Sep 23, 2017 11:53 am

Recently, Simon sent a PR to patch 24bit ROM frame buffer. I poked around Mac SE ROM and fixed emulated hard drive in ROM patch.

If you want to run System 6 using 24bit ROM like mini vMac in BII, give a try on my branch:
https://github.com/rickyzhang82/macemu/tree/pr-fix-emulated-hard-drive-in-mac-se-rom

So far SDL doesn't work. It used XWindows DGA extension. I confirmed it works in Mac and Linux host.

To build it, you'd better use build.sh in Basilisk/src/Unix directory. In pref file, limit your mem to 4MB, screen to 512x384 and CPU 68000 (which is 0)

Re: Fun with 24 bit dirty ROM and System 6

Sun Sep 24, 2017 10:34 am

To replicate my claim, try the pref file and ROM below

Pref file:

displaycolordepth 0
screen win/512/384
disk /Users/Ricky/repo/68k.Mac/BasilikII/DiskImage/MacImage.6.0.8.dsk
seriala
serialb
udptunnel false
udpport 6066
rom /Users/Ricky/repo/68k.Mac/BasilikII/ROM/MacSE.ROM
bootdrive 0
bootdriver 0
ramsize 4194304
frameskip 0
modelid 5
cpu 0
fpu false
nocdrom true
nosound true
noclipconversion false
nogui true
jit false
jitfpu true
jitdebug false
jitcachesize 8192
jitlazyflush true
jitinline true
keyboardtype 5
keycodes true
keycodefile /Users/Ricky/repo/68k.Mac/BasilikII/keycodes
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait true


ROM
MD5 (MacSE.ROM) = 9fb38bdcc0d53d9d380897ee53dc1322
MD5 (MacClassic.ROM) = c229bb677cb41b84b780c9e38a09173e

Re: Fun with 24 bit dirty ROM and System 6

Mon Sep 25, 2017 4:34 pm

I saw you mention something about SDL2 implementation on the dev mail list; is there any progress on that?

Re: Fun with 24 bit dirty ROM and System 6

Tue Sep 26, 2017 12:27 am

No, it is not related to SDL2. I'm asking for a Macintosh video driver documentation that got lost in web archive.

Computer graphic is really not my expertise. It took me quite some time to fix SDL v1 for one bit per pixel. I'd stop from there.

The experimental branch below include patch from emulated hard drive, SDL and frame buffer fix.

https://github.com/rickyzhang82/macemu/ ... -24bit-sdl
Post a reply