Fun with 24 bit dirty ROM and System 6

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Fun with 24 bit dirty ROM and System 6

Post by rickyzhang »

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/ ... 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)
There is an App for that!
https://github.com/rickyzhang82
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Re: Fun with 24 bit dirty ROM and System 6

Post by rickyzhang »

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
There is an App for that!
https://github.com/rickyzhang82
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Fun with 24 bit dirty ROM and System 6

Post by adespoton »

I saw you mention something about SDL2 implementation on the dev mail list; is there any progress on that?
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Re: Fun with 24 bit dirty ROM and System 6

Post by rickyzhang »

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
There is an App for that!
https://github.com/rickyzhang82
Post Reply