From 427e7b46219d84b21dfb5f8bdb965406258f2052 Mon Sep 17 00:00:00 2001 From: claudiol Date: Fri, 19 Nov 2021 15:38:29 -0500 Subject: [PATCH] Added script to pull ROMs from other websites --- pull-roms.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 pull-roms.sh diff --git a/pull-roms.sh b/pull-roms.sh new file mode 100755 index 0000000..baa7dcd --- /dev/null +++ b/pull-roms.sh @@ -0,0 +1,31 @@ +TEMPDIR=$(pwd)/tmpdir +FWDIR=$(pwd)/firmware + + +echo Retrieving Bootloader from hpcalc.org for HP 49g+ and HP 50g... +mkdir -p $TEMPDIR +pushd $TEMPDIR +wget https://www.hpcalc.org/hp49/pc/rom/HP-ARM-Models-Bootloader.zip +unzip -j HP-ARM-Models-Bootloader.zip -d $TEMPDIR +cp *.bin $FWDIR +popd +rm -rf $TEMPDIR + + +echo Retrieving ROM 2.15 from hpcalc.org for HP 49g+ and HP 50g... +mkdir -p $TEMPDIR +pushd $TEMPDIR +wget https://www.hpcalc.org/hp49/pc/rom/hp4950v215.zip +unzip -j hp4950v215.zip -d $TEMPDIR +cp *.bin $FWDIR +popd +rm -rf $TEMPDIR + +echo Retrieving latest Unofficial newRPL build... +mkdir -p $TEMPDIR +pushd $TEMPDIR +wget https://www.hpgcc3.org/downloads/newrplfw.bin +cp newrplfw.bin $FWDIR +popd +rm -rf $TEMPDIR +