Added script to pull ROMs from other websites

This commit is contained in:
claudiol 2021-11-19 15:38:29 -05:00
parent db5db82898
commit 427e7b4621

31
pull-roms.sh Executable file
View file

@ -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