Succeeded in compiling and running in El Captain

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

Succeeded in compiling and running in El Captain

Post by rickyzhang »

I tried to figure out why BII can't compile in El Captain. Because I want to port my 256 color hack back to Mac.

First of all, mac UI app use deprecated Mac SDK. So it doomed to failed to build BII Mac app. But there is workaround to build it with X and SDL enable.

So in El Captain, I install sdl 1.2 and gtk2 from mac port and use the following configura

Code: Select all

./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit-compiler --with-x
Now I can build BII in El Captain.

Secondly, the compiled BII has segmentation fault during running. The culprit is BII hardcoded several 32bit data type everywhere!!! I means literally everywhere. In addition, JIT doesn't work for some reason (I haven't figure this out yet. )

The showstopper is slirp module and JIT. Disable both of them can boot Mac OS.

I will first disable JIT and enable networking on this branch https://github.com/rickyzhang82/macemu/tree/mac-debug. Right now I can enable slirp module without segmentation fault. But networking is not ready yet.
There is an App for that!
https://github.com/rickyzhang82
Post Reply