Build Emu68.img using Raspberry Pi 3/4


0)
Prepare SDCARD using latest image from:
https://downloads.raspberrypi.org/raspios_arm64/images/ Download

1)
install cmake (3.18.4 or newer) from packetmanager or terminal
sudo apt install cmake «copy

2)
Open terminal (if not already opened)

3)
sudo cp /usr/include/aarch64-linux-gnu/gnu/stubs-lp64.h /usr/include/aarch64-linux-gnu/gnu/stubs-lp64_be.h «copy

4)
git clone https://github.com/michalsc/Emu68.git «copy
cd Emu68 «copy
git submodule update --init --recursive «copy
mkdir build install «copy
cd build «copy

5)
cmake .. -DCMAKE_INSTALL_PREFIX=../install -DTARGET=raspi64 -DVARIANT=pistorm «copy

6)
make -j4 «copy

7)
next time it is enough to do (from build folder):
git pull
make -j4



800+ MIPS build

in file include\config.h change following to:
EMU68_M68K_INSN_DEPTH 255
EMU68_MAX_LOOP_COUNT 8
EMU68_BRANCH_INLINE_DISTANCE 4096

Go to main page