PoC: run System 6 in BII

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
Mac Mechanic
Posts: 193
Joined: Mon Sep 15, 2014 7:59 pm

PoC: run System 6 in BII

Post by rickyzhang »

Several years ago, I was working on a challenge to emulate 24bit ROM for System 6 in BII. I remembered I did get it done even in SDL with an emulated disk.

But I lost all my notes how to replicate it. So this time I updated the wiki for record: https://github.com/cebix/macemu/wiki/Ba ... tion-Guide.

Image

It ran on X11. Now the only missing link is to make it run on SDL. You can replicate it from the compilation guide above. I shared my pref below:

Code: Select all

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

Re: PoC: run System 6 in BII

Post by rickyzhang »

I figured it out how to use SDL1 as back end for System6. SDL2 shows a white screen. But SDL 1 is fine in Linux. Need some further debug:

Image

The build configure is the following:

Code: Select all

CFLAGS=-O0;CPPFLAGS=-O0 ./configure --enable-sdl-video --enable-sdl-audio --with-esd=no --with-gtk --with-mon --enable-addressing=banks

Preference needs to specify color depth = 1 bit and the resolution must be 512x342.

Code: Select all

displaycolordepth 1
disk /home/Ricky/repo/68k.Mac/BasilikII/DiskImage/MacImage.6.0.8.dsk
extfs /home/Ricky/repo/68k.Mac/Apps
screen win/512/342
seriala /dev/ttyS0
serialb /dev/ttyS1
udptunnel false
udpport 6066
rom /home/Ricky/repo/68k.Mac/BasilikII/ROM/MacSE.ROM
bootdrive 0
bootdriver 0
ramsize 4194304
frameskip 1
modelid 5
cpu 0
fpu false
nocdrom true
nosound true
noclipconversion false
nogui false
jit false
jitfpu true
jitdebug false
jitcachesize 8192
jitlazyflush true
jitinline true
keyboardtype 5
keycodes true
keycodefile /home/Ricky/repo/68k.Mac/BasilikII/keycodes
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait true
There is an App for that!
https://github.com/rickyzhang82
Post Reply