2023-05-28 12:38:03 -04:00
|
|
|
#!/bin/sh
|
2023-05-25 14:14:21 -04:00
|
|
|
|
|
|
|
ID="arvelie"
|
|
|
|
ASM="uxncli $HOME/roms/drifblim.rom"
|
|
|
|
EMU="uxncli"
|
|
|
|
LIN="uxncli $HOME/roms/uxnlin.rom"
|
|
|
|
SRC="${ID}.tal"
|
|
|
|
DST="${ID}.rom"
|
|
|
|
CPY="$HOME/roms"
|
2023-05-25 15:54:37 -04:00
|
|
|
ARG=""
|
2023-05-25 14:14:21 -04:00
|
|
|
|
|
|
|
if [[ "$*" == *"--lint"* ]]
|
|
|
|
then
|
|
|
|
$LIN $SRC
|
|
|
|
fi
|
|
|
|
|
|
|
|
$ASM $SRC $DST
|
|
|
|
|
|
|
|
if [[ "$*" == *"--save"* ]]
|
|
|
|
then
|
|
|
|
cp $DST $CPY
|
|
|
|
fi
|
|
|
|
|
2023-05-28 12:38:03 -04:00
|
|
|
# printf "today "; $EMU $DST
|
|
|
|
# printf "gre->arv "; $EMU $DST "2023-05-25"
|
|
|
|
# printf "arv->gre "; $EMU $DST "17K04"
|
|
|
|
# printf "error "; $EMU $DST "abc"
|
|
|
|
# echo ""
|
|
|
|
# printf "00A00 -> "; $EMU $DST "2016-01-01"
|
|
|
|
# printf "2016-01-01 -> "; $EMU $DST "00A00"
|
|
|
|
|
|
|
|
# printf "2016-01-14 -> 00B00"; $EMU $DST "2016-01-14"
|
|
|
|
|
|
|
|
|
|
|
|
$EMU $DST "2016-01-01"
|
2023-05-25 14:14:21 -04:00
|
|
|
|