]> apps.delaporte.us Git - dotfiles.git/commitdiff
Recipe to build the X16 Emulator on Pi
authorEdward Delaporte <edward@delaporte.us>
Sun, 24 Oct 2021 13:57:50 +0000 (14:57 +0100)
committerEdward Delaporte <edward@delaporte.us>
Sun, 24 Oct 2021 13:57:50 +0000 (14:57 +0100)
pi/x16.sh [new file with mode: 0755]
pi/x16_deps.sh [new file with mode: 0755]

diff --git a/pi/x16.sh b/pi/x16.sh
new file mode 100755 (executable)
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 (executable)
index 0000000..631fc46
--- /dev/null
@@ -0,0 +1,3 @@
+# Deps
+apt install make cc65
+apt install libsdl2-dev