update launcher scripts

This commit is contained in:
Gwenhael Le Moine 2024-09-24 15:14:15 +02:00
parent 576063d929
commit 57220f8287
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
3 changed files with 9 additions and 8 deletions

5
dist/saturn40g vendored
View file

@ -1,6 +1,7 @@
#!/bin/bash -eu
cd "$(dirname "$0")" ; CWD=$(pwd)
cd "$(dirname "$0")" || exit 1
#CWD=$(pwd)
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
@ -24,4 +25,4 @@ if [ ! -e "$STATEDIR"/ram ]; then
RAM=-reset
fi
./saturn -face hp40 -hw hp40 -stateDir "$STATEDIR" -rom rom.39g $RAM "$@"
./saturn --hw hp40 --40g --state-dir "$STATEDIR" --rom rom.39g "$RAM" --mod mod --cpu cpu --hdw hdw "$@"

7
dist/saturn48gx vendored
View file

@ -1,6 +1,7 @@
#!/bin/bash -eu
cd "$(dirname "$0")" ; CWD=$(pwd)
cd "$(dirname "$0")" || exit 1
#CWD=$(pwd)
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
@ -29,6 +30,4 @@ 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
#./saturn --hw hp48 --48gx --state-dir "$STATEDIR" --rom gxrom-r $RAM --port1 port1 --port2 port2 --mod mod --cpu cpu --hdw hdw "$@"
./saturn --hw hp48 --48gx --state-dir $STATEDIR --rom gxrom-r $RAM --port1 port1 --port2 port2 --mod mod --cpu cpu --hdw hdw "$@"
./saturn --hw hp48 --48gx --state-dir "$STATEDIR" --rom gxrom-r "$RAM" --port1 port1 --port2 port2 --mod mod --cpu cpu --hdw hdw "$@"

5
dist/saturn49g vendored
View file

@ -1,6 +1,7 @@
#!/bin/bash -eu
cd "$(dirname "$0")" ; CWD=$(pwd)
cd "$(dirname "$0")" || exit 1
#CWD=$(pwd)
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
@ -24,4 +25,4 @@ if [ ! -e "$STATEDIR"/ram ]; then
RAM=-reset
fi
./saturn -face hp49 -hw hp49 -stateDir "$STATEDIR" -rom rom.49g $RAM "$@"
./saturn --hw hp49 --49g --state-dir "$STATEDIR" --rom rom.49g "$RAM" --mod mod --cpu cpu --hdw hdw "$@"