E-Maculation
https://www.emaculation.com/forum/

Fun with 24 bit dirty ROM and System 6
https://www.emaculation.com/forum/viewtopic.php?f=6&t=9484
Page 1 of 1

Author:  rickyzhang [ Sat Sep 23, 2017 11:53 am ]
Post subject:  Fun with 24 bit dirty ROM and System 6

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)

Author:  rickyzhang [ Sun Sep 24, 2017 10:34 am ]
Post subject:  Re: Fun with 24 bit dirty ROM and System 6

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

Pref file:

Quote:
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

Author:  adespoton [ Mon Sep 25, 2017 4:34 pm ]
Post subject:  Re: Fun with 24 bit dirty ROM and System 6

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

Author:  rickyzhang [ Tue Sep 26, 2017 12:27 am ]
Post subject:  Re: Fun with 24 bit dirty ROM and System 6

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/