copy make get-roms from x48ng and use it in run48.sh

This commit is contained in:
Gwenhael Le Moine 2024-03-20 20:54:38 +01:00
parent b94f1a337e
commit fb6fc0b03e
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
12 changed files with 29 additions and 29 deletions

View file

@ -45,8 +45,11 @@ MSFS= Msfs/debug.msf \
Msfs/modules.msf \
Msfs/disk_io.msf \
Msfs/x11.msf \
Msfs/serial.msf Msfs/flash49.msf Msfs/x_func.msf\
Msfs/saturn.msf Msfs/util.msf \
Msfs/serial.msf \
Msfs/flash49.msf \
Msfs/x_func.msf \
Msfs/saturn.msf \
Msfs/util.msf \
Chf/chf.msf
.PHONY: all clean clean-all pretty-code install mrproper
@ -86,29 +89,29 @@ clean-all: mrproper
pretty-code:
clang-format -i src/*.c src/*.h
# # Installing
# ROMs/sxrom-a:
# curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-a.zip" --output - | funzip > "ROMs/sxrom-a"
# ROMs/sxrom-b:
# curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-b.zip" --output - | funzip > "ROMs/sxrom-b"
# ROMs/sxrom-c:
# curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-c.zip" --output - | funzip > "ROMs/sxrom-c"
# ROMs/sxrom-d:
# curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-d.zip" --output - | funzip > "ROMs/sxrom-d"
# ROMs/sxrom-e:
# curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-e.zip" --output - | funzip > "ROMs/sxrom-e"
# ROMs/sxrom-j:
# curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-j.zip" --output - | funzip > "ROMs/sxrom-j"
# ROMs/gxrom-l:
# curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-l.zip" --output - | funzip > "ROMs/gxrom-l"
# ROMs/gxrom-m:
# curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-m.zip" --output - | funzip > "ROMs/gxrom-m"
# ROMs/gxrom-p:
# curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-p.zip" --output - | funzip > "ROMs/gxrom-p"
# ROMs/gxrom-r:
# curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-r.zip" --output - | funzip > "ROMs/gxrom-r"
# Installing
ROMs/sxrom-a:
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-a.zip" --output - | funzip > "ROMs/sxrom-a"
ROMs/sxrom-b:
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-b.zip" --output - | funzip > "ROMs/sxrom-b"
ROMs/sxrom-c:
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-c.zip" --output - | funzip > "ROMs/sxrom-c"
ROMs/sxrom-d:
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-d.zip" --output - | funzip > "ROMs/sxrom-d"
ROMs/sxrom-e:
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-e.zip" --output - | funzip > "ROMs/sxrom-e"
ROMs/sxrom-j:
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-j.zip" --output - | funzip > "ROMs/sxrom-j"
ROMs/gxrom-l:
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-l.zip" --output - | funzip > "ROMs/gxrom-l"
ROMs/gxrom-m:
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-m.zip" --output - | funzip > "ROMs/gxrom-m"
ROMs/gxrom-p:
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-p.zip" --output - | funzip > "ROMs/gxrom-p"
ROMs/gxrom-r:
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-r.zip" --output - | funzip > "ROMs/gxrom-r"
# get-roms: ROMs/sxrom-a ROMs/sxrom-b ROMs/sxrom-c ROMs/sxrom-d ROMs/sxrom-e ROMs/sxrom-j ROMs/gxrom-l ROMs/gxrom-m ROMs/gxrom-p ROMs/gxrom-r
get-roms: ROMs/sxrom-a ROMs/sxrom-b ROMs/sxrom-c ROMs/sxrom-d ROMs/sxrom-e ROMs/sxrom-j ROMs/gxrom-l ROMs/gxrom-m ROMs/gxrom-p ROMs/gxrom-r
# install: all get-roms
# install -m 755 -d -- $(DESTDIR)$(PREFIX)/bin

BIN
ROMs/gxrom-l Normal file

Binary file not shown.

BIN
ROMs/gxrom-m Normal file

Binary file not shown.

BIN
ROMs/gxrom-p Normal file

Binary file not shown.

BIN
ROMs/gxrom-r Normal file

Binary file not shown.

BIN
ROMs/sxrom-a Normal file

Binary file not shown.

BIN
ROMs/sxrom-b Normal file

Binary file not shown.

BIN
ROMs/sxrom-c Normal file

Binary file not shown.

BIN
ROMs/sxrom-d Normal file

Binary file not shown.

BIN
ROMs/sxrom-e Normal file

Binary file not shown.

BIN
ROMs/sxrom-j Normal file

Binary file not shown.

7
dist/run48.sh vendored
View file

@ -4,11 +4,8 @@ STATEDIR=./stateDir.48
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
)
make -C .. get-roms
cp ../ROMs/gxrom-r $STATEDIR/gxrom-r
fi
RAM=''