Login  •  Register


The time is now: Sat Jul 11, 2020 3:10 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 2 posts ]
Print view Previous topic  |  Next topic
Author Message
 Post subject: PoC: run System 6 in BII
PostPosted: Sat Jun 27, 2020 6:16 pm 
Offline
Mac Mechanic
User avatar

Joined: Mon Sep 15, 2014 7:59 pm
Posts: 183
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/Basilisk-II-Compilation-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:
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat Jun 27, 2020 10:23 pm 
Offline
Mac Mechanic
User avatar

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


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 2 posts ]


Who is online

Users browsing this forum: adespoton and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group