Skip to content

Instantly share code, notes, and snippets.

@yangxuan8282
Created April 4, 2018 07:03
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save yangxuan8282/f1c8c19cc92a69d6f170ed03191ca1f1 to your computer and use it in GitHub Desktop.
Save yangxuan8282/f1c8c19cc92a69d6f170ed03191ca1f1 to your computer and use it in GitHub Desktop.
install Basilisk II on rpi

install Basilisk II without X11 on raspberry pi (raspbian stretch lite)

sudo apt update && sudo apt upgrade -y
sudo apt install automake gobjc -y
mkdir -p ~/src/sdl2 &&
wget https://www.libsdl.org/release/SDL2-2.0.7.tar.gz -O - | tar -xz -C ~/src/sdl2
cd ~/src/sdl2/SDL2-2.0.7 &&

./configure --host=arm-raspberry-linux-gnueabihf \
            --disable-video-opengl \
            --disable-video-x11 \
            --disable-pulseaudio \
            --disable-esd \
            --disable-video-mir \
            --disable-video-wayland &&
make -j3 
sudo make install
mkdir -p ~/src/macemu &&
wget -O ~/src/macemu/master.zip https://github.com/DavidLudwig/macemu/archive/master.zip &&
unzip ~/src/macemu/master.zip -d ~/src/macemu
cd ~/src/macemu/macemu-master/BasiliskII/src/Unix/ &&

NO_CONFIGURE=1 ./autogen.sh &&
./configure --enable-sdl-audio --enable-sdl-framework \
            --enable-sdl-video --disable-vosf \
            --without-mon --without-esd --without-gtk --disable-nls &&
make -j3
sudo make install 
wget -O ~/System753.iso.7z "https://downloads.sourceforge.net/project/cockatrice/OS/System753.iso.7z?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fcockatrice%2Ffiles%2FOS%2F&ts=1515686536&use_mirror=cytranet" 
wget -O ~/Quadra-650.ROM https://github.com/macmade/Macintosh-ROMs/raw/master/Quadra-650.ROM
sudo apt install -y p7zip-full
cd ~ &&
7za e System753.iso.7z
wget -O ~/old_mac_softs.zip http://toughdev.com/public/old_mac_softs.zip
unzip ~/old_mac_softs.zip -d ~
cd ~/old_mac_softs
sudo apt install -y unrar-free
unrar e hfs500M.rar
echo "rom    /home/pi/Quadra-650.ROM
disk   /home/pi/System753.iso
disk   /home/pi/old_mac_softs/hfv500M.dsk" | tee -a ~/.basilisk_ii_prefs

you may need to increase ram: ramsize 67108864 , and no frameskip frameskip 0

Basilisk

after installation finished, you can remove iso from ~/.basilisk_ii_prefs

@molton
Copy link

molton commented Jan 31, 2020

Thanks for the info, I tried this but it said the quadra-650.ROM file was not usable by basilisk as it is too big it says. Also, that build still has issues on the 8-bit color on my raspberry pi, and the biggest issue with the build I have is that usb input from my mouse and keyboard are completely unusable

@ekbann
Copy link

ekbann commented Feb 21, 2021

I use the recommended Quadra 800 ROM. To solve the keyboard and mouse problem, install the package libudev-dev and recompile SDL2. All displaycolordepth works BUT Basilisk crashes when running Speedometer 4 during the Color QuickDraw tests. It doesn’t seem to like the constant changes of screen color depth from 1-bit per pixel thru 16-bit per pixel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment