From a71472b997369bad19fd35382601de959e78a8c1 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sun, 25 Aug 2024 17:30:01 +0200 Subject: [PATCH] 48SX is in fact not supported --- Makefile | 2 -- dist/saturn48sx | 28 ---------------------------- 2 files changed, 30 deletions(-) delete mode 100755 dist/saturn48sx diff --git a/Makefile b/Makefile index adbdfb5..8e988cd 100644 --- a/Makefile +++ b/Makefile @@ -146,8 +146,6 @@ install: dist/saturn dist/pack dist/saturn.cat dist/Saturn.ad manual install -c -m 755 dist/saturn $(DESTDIR)$(PREFIX)/bin/saturn sed "s|@PREFIX@|$(PREFIX)|g" dist/saturn48gx > $(DESTDIR)$(PREFIX)/bin/saturn48gx chmod 755 $(DESTDIR)$(PREFIX)/bin/saturn48gx - sed "s|@PREFIX@|$(PREFIX)|g" dist/saturn48sx > $(DESTDIR)$(PREFIX)/bin/saturn48sx - chmod 755 $(DESTDIR)$(PREFIX)/bin/saturn48sx install -c -m 644 dist/saturn.cat $(DESTDIR)$(PREFIX)/bin/saturn.cat #FIXME # install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/locale/C/LC_MESSAGES diff --git a/dist/saturn48sx b/dist/saturn48sx deleted file mode 100755 index d8989ac..0000000 --- a/dist/saturn48sx +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -eu - -STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state} - -STATEDIR=$STATE_HOME/saturn/48sx -mkdir -p "$STATEDIR" - -if [ ! -e "$STATEDIR"/sxrom-j ]; then - if [ ! -d @PREFIX@/share/saturn/ROMs/ ]; then - echo "Error: No ROMs/ dir found" - exit 1 - fi - cp -R @PREFIX@/share/saturn/ROMs/ "$STATEDIR"/ROMs - make -C "$STATEDIR"/ROMs get-roms - cp "$STATEDIR"/ROMs/sxrom-j "$STATEDIR"/sxrom-j -fi - -RAM='' -if [ ! -e "$STATEDIR"/ram ]; then - RAM=-reset -fi - -[ ! -e "$STATEDIR"/port1 ] && dd if=/dev/zero of="$STATEDIR"/port1 bs=1k count=128 -[ ! -e "$STATEDIR"/port2 ] && dd if=/dev/zero of="$STATEDIR"/port2 bs=1k count=4096 - -# export XAPPLRESDIR=/etc/X11/app-defaults/ -# export NLSPATH=@PREFIX@/share/locale/C/LC_MESSAGES/ -@PREFIX@/bin/saturn -face hp48 -hw hp48 -stateDir "$STATEDIR" -rom sxrom-j $RAM -port1 port1 -port2 port2