Skip to content

Commit

Permalink
Basilisk and ROM bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromaz committed Nov 8, 2023
1 parent 2b3f9fd commit 99d6fd2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ Special thanks to [Christian Bauer](https://www.cebix.net) and [kanjitalk755](ht

## Installation

The project must be installed on a clean, full *Raspberry Pi OS (Legacy)* but you must first switch to command line or set system start to CLI.
*Raspberry Pi OS (Legacy)* can be installed from the *Raspberry Pi Imager* level by selecting: *CHOOSE OS -> Raspberry Pi OS (other) -> Raspberry Pi OS (Legacy)*, *CHOOSE STORAGE -> WRITE*. The installation process requires a minimum 16 GB SD card.

<p align="center"><img src="assets/img/imager.png" width="50%"></p>
The project must be installed on a clean, full *Raspberry Pi OS (oldold Legacy) Buster image* [2022-04-04-raspios-buster-armhf.img.xz](https://downloads.raspberrypi.org/raspios_oldstable_armhf/images/raspios_oldstable_armhf-2022-04-07/2022-04-04-raspios-buster-armhf.img.xz) - you must switch to command line or set system start to CLI (Start -> Preferences -> Raspberry Pi Configuration : *To CLI* and *Wait for network* checked). The installation process requires a minimum 16 GB SD card.

Installation of the entire *MacintoshPi* package requires running the single command ```./build_all.sh``` - all dependencies and required packages will be installed automatically:

Expand Down
28 changes: 14 additions & 14 deletions assets/func.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# MacintoshPi functions
# --------------------------------------------------------

VERSION="1.3.3"
VERSION="1.4.1"
BASE_DIR="/usr/share/macintoshpi"
CONF_DIR="/etc/macintoshpi"
WAV_DIR="${BASE_DIR}/sounds"
SRC_DIR="${BASE_DIR}/src"
BASILISK_REPO="https://github.com/kanjitalk755/macemu/archive/master.zip"
BASILISK_REPO="https://github.com/kanjitalk755/macemu"
SHEEPSHAVER_REPO=${BASILISK_REPO}
SDL2_SOURCE="https://www.libsdl.org/release/SDL2-2.0.7.tar.gz"
VICE_SOURCE="https://downloads.sourceforge.net/project/vice-emu/releases/vice-3.4.tar.gz"
Expand All @@ -30,7 +30,7 @@ HDD_IMAGES="https://homer-retro.space/appfiles"
ASOFT="${HDD_IMAGES}/as/asoft.tar.gz"
ROM4OS[7]="https://github.com/macmade/Macintosh-ROMs/raw/18e1d0a9756f8ae3b9c005a976d292d7cf0a6f14/Performa-630.ROM"
ROM4OS[8]="https://github.com/macmade/Macintosh-ROMs/raw/main/Quadra-650.ROM"
ROM4OS[9]="https://www.redundantrobot.com/sheepshaver_files/roms/newworld86.rom.zip"
ROM4OS[9]="https://smb4.s3.us-west-2.amazonaws.com/sheepshaver/apple_roms/newworld86.rom.zip"


function usercheck {
Expand Down Expand Up @@ -131,12 +131,12 @@ printf "\e[95m"; echo '
'; printf "\e[0m"; sleep 2

mkdir -p ${SRC_DIR} 2>/dev/null

wget -O ${SRC_DIR}/master.zip ${SHEEPSHAVER_REPO}
[ $? -ne 0 ] && net_error "SheepShaver sources"

unzip ${SRC_DIR}/master.zip -d ${SRC_DIR}
cd ${SRC_DIR}/macemu-*/SheepShaver
cd ${SRC_DIR}
rm -rf macemu 2>/dev/null
git clone ${BASILISK_REPO}
cd ${SRC_DIR}/macemu
git checkout 33c3419
cd ${SRC_DIR}/macemu/SheepShaver
make links
cd src/Unix

Expand Down Expand Up @@ -177,11 +177,11 @@ printf "\e[95m"; echo '

mkdir -p ${SRC_DIR} 2>/dev/null

wget -O ${SRC_DIR}/master.zip ${BASILISK_REPO}
[ $? -ne 0 ] && net_error "Basilisk II sources"

unzip ${SRC_DIR}/master.zip -d /${SRC_DIR}
cd ${SRC_DIR}/macemu-*/BasiliskII/src/Unix/
cd ${SRC_DIR}
git clone ${BASILISK_REPO}
cd ${SRC_DIR}/macemu
git checkout 33c3419
cd ${SRC_DIR}/macemu/BasiliskII/src/Unix/
NO_CONFIGURE=1 ./autogen.sh &&
./configure --enable-sdl-audio --enable-sdl-framework \
--enable-sdl-video --disable-vosf \
Expand Down

0 comments on commit 99d6fd2

Please sign in to comment.