From 5ab0ae1e29f15bc8939256d08af94f1aa4eec12a Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Sun, 24 Oct 2021 14:57:50 +0100 Subject: [PATCH] Recipe to build the X16 Emulator on Pi --- pi/x16.sh | 13 +++++++++++++ pi/x16_deps.sh | 3 +++ 2 files changed, 16 insertions(+) create mode 100755 pi/x16.sh create mode 100755 pi/x16_deps.sh diff --git a/pi/x16.sh b/pi/x16.sh new file mode 100755 index 0000000..a7ec6ea --- /dev/null +++ b/pi/x16.sh @@ -0,0 +1,13 @@ +mkdir -p ~/x16 + +cd ~/x16 +git clone https://github.com/commanderx16/x16-rom.git +cd x16-rom +make + +cd ~/x16 +git clone https://github.com/commanderx16/x16-emulator.git +cd x16-emulator +make + +cp ~/x16/x16-rom/build/x16/rom.bin ~/x16/x16-emulator/ diff --git a/pi/x16_deps.sh b/pi/x16_deps.sh new file mode 100755 index 0000000..631fc46 --- /dev/null +++ b/pi/x16_deps.sh @@ -0,0 +1,3 @@ +# Deps +apt install make cc65 +apt install libsdl2-dev -- 2.47.3