Add missing files, helper scripts and .gitignore

This commit is contained in:
Gwenhael Le Moine 2024-03-20 15:23:10 +01:00
parent d7531876d4
commit 8c9e99e2aa
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
5 changed files with 39 additions and 0 deletions

15
.gitignore vendored Normal file
View file

@ -0,0 +1,15 @@
Chf/mt_build/
Chf/st_build/
Makefile
Makefile.bak
Saturn
cpu
hdw
mod
pack
pack._man
saturn
saturn._man
saturn.cat
stateDir.gwh_run48/
*.o

6
gwh_build.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash -eu
make clean
xmkmf
touch saturn.man pack.man
make

18
gwh_run48.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash -eu
STATEDIR=./stateDir.gwh_run48
mkdir -p $STATEDIR
if [ ! -e $STATEDIR/gxrom-r ]; then
(cd $STATEDIR
wget -c https://www.hpcalc.org/hp48/pc/emulators/gxrom-r.zip -O gxrom-r.zip
unzip gxrom-r.zip
rm gxrom-r.zip
)
fi
RAM=ram
if [ ! -e $STATEDIR/ram ]; then
RAM="-reset"
fi
./run_saturn -face hp48 -hw hp48 -stateDir $STATEDIR -rom gxrom-r $RAM

0
pack.man Normal file
View file

0
saturn.man Normal file
View file