16 lines
442 B
Bash
Executable file
16 lines
442 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [[ ! -d f256-firmware ]]; then
|
|
git clone https://github.com/FoenixRetro/f256-firmware.git
|
|
else
|
|
pushd f256-firmware
|
|
git pull
|
|
popd
|
|
fi
|
|
|
|
pushd f256-firmware/shipping/firmware
|
|
cp -f ../../../hexbuild.asm .
|
|
64tass --intel-hex -o kernel_F256jr.hex hexbuild.asm
|
|
#cp -f kernel_F256jr.hex "~/.cxoffice/FoenixIDE/drive_c/Program Files/C256 Foenix Project/FoenixIDE Setup/roms/."
|
|
mv -f kernel_F256jr.hex ../../../ide/roms/.
|
|
popd
|