Add missing files, helper scripts and .gitignore
This commit is contained in:
parent
d7531876d4
commit
8c9e99e2aa
5 changed files with 39 additions and 0 deletions
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal 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
6
gwh_build.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash -eu
|
||||
|
||||
make clean
|
||||
xmkmf
|
||||
touch saturn.man pack.man
|
||||
make
|
18
gwh_run48.sh
Executable file
18
gwh_run48.sh
Executable 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
0
pack.man
Normal file
0
saturn.man
Normal file
0
saturn.man
Normal file
Loading…
Reference in a new issue