update launcher scripts
This commit is contained in:
parent
576063d929
commit
57220f8287
3 changed files with 9 additions and 8 deletions
5
dist/saturn40g
vendored
5
dist/saturn40g
vendored
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash -eu
|
#!/bin/bash -eu
|
||||||
|
|
||||||
cd "$(dirname "$0")" ; CWD=$(pwd)
|
cd "$(dirname "$0")" || exit 1
|
||||||
|
#CWD=$(pwd)
|
||||||
|
|
||||||
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
||||||
|
|
||||||
|
@ -24,4 +25,4 @@ if [ ! -e "$STATEDIR"/ram ]; then
|
||||||
RAM=-reset
|
RAM=-reset
|
||||||
fi
|
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
7
dist/saturn48gx
vendored
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash -eu
|
#!/bin/bash -eu
|
||||||
|
|
||||||
cd "$(dirname "$0")" ; CWD=$(pwd)
|
cd "$(dirname "$0")" || exit 1
|
||||||
|
#CWD=$(pwd)
|
||||||
|
|
||||||
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
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"/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
|
[ ! -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
5
dist/saturn49g
vendored
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash -eu
|
#!/bin/bash -eu
|
||||||
|
|
||||||
cd "$(dirname "$0")" ; CWD=$(pwd)
|
cd "$(dirname "$0")" || exit 1
|
||||||
|
#CWD=$(pwd)
|
||||||
|
|
||||||
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
||||||
|
|
||||||
|
@ -24,4 +25,4 @@ if [ ! -e "$STATEDIR"/ram ]; then
|
||||||
RAM=-reset
|
RAM=-reset
|
||||||
fi
|
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 "$@"
|
||||||
|
|
Loading…
Reference in a new issue