Housekeeping
This commit is contained in:
parent
6d6f73040d
commit
072e48e503
|
@ -3,7 +3,6 @@
|
||||||
ASM="uxncli $HOME/roms/drifblim.rom"
|
ASM="uxncli $HOME/roms/drifblim.rom"
|
||||||
EMU="uxncli"
|
EMU="uxncli"
|
||||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||||
APP="$HOME/bin/butler push"
|
|
||||||
|
|
||||||
SRC="checksum.tal"
|
SRC="checksum.tal"
|
||||||
DST="checksum.rom"
|
DST="checksum.rom"
|
||||||
|
@ -12,8 +11,6 @@ CPY="$HOME/roms"
|
||||||
ARG="test.txt"
|
ARG="test.txt"
|
||||||
|
|
||||||
echo ">> Cleaning"
|
echo ">> Cleaning"
|
||||||
rm -rf bin
|
|
||||||
mkdir bin
|
|
||||||
|
|
||||||
if [[ "$*" == *"--lint"* ]]
|
if [[ "$*" == *"--lint"* ]]
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
( usage: uxncli checksum.rom file.bin )
|
( uxncli checksum.rom file.bin )
|
||||||
|
|
||||||
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|
||||||
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
ASM="uxncli $HOME/roms/drifblim.rom"
|
ASM="uxncli $HOME/roms/drifblim.rom"
|
||||||
EMU="uxncli"
|
EMU="uxncli"
|
||||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||||
APP="$HOME/bin/butler push"
|
|
||||||
|
|
||||||
SRC="format-c.tal"
|
SRC="format-c.tal"
|
||||||
DST="format-c.rom"
|
DST="format-c.rom"
|
||||||
|
@ -12,8 +11,6 @@ CPY="$HOME/roms"
|
||||||
ARG="test.txt"
|
ARG="test.txt"
|
||||||
|
|
||||||
echo ">> Cleaning"
|
echo ">> Cleaning"
|
||||||
rm -rf bin
|
|
||||||
mkdir bin
|
|
||||||
|
|
||||||
if [[ "$*" == *"--lint"* ]]
|
if [[ "$*" == *"--lint"* ]]
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
( usage: uxncli format-js.rom file.bin )
|
( uxncli format-c.rom file.bin )
|
||||||
|
|
||||||
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|
||||||
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
||||||
|
|
|
@ -3,33 +3,23 @@
|
||||||
ASM="uxncli $HOME/roms/drifblim.rom"
|
ASM="uxncli $HOME/roms/drifblim.rom"
|
||||||
EMU="uxncli"
|
EMU="uxncli"
|
||||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||||
APP="$HOME/bin/butler push"
|
|
||||||
|
|
||||||
SRC="hx.tal"
|
SRC="hx.tal"
|
||||||
DST="hx.rom"
|
DST="hx.rom"
|
||||||
|
|
||||||
CPY="$HOME/roms"
|
CPY="$HOME/roms"
|
||||||
ARG="test.txt"
|
ARG="test.txt"
|
||||||
|
|
||||||
echo ">> Cleaning"
|
|
||||||
rm -rf bin
|
|
||||||
mkdir bin
|
|
||||||
|
|
||||||
if [[ "$*" == *"--lint"* ]]
|
if [[ "$*" == *"--lint"* ]]
|
||||||
then
|
then
|
||||||
echo ">> Linting $SRC"
|
|
||||||
$LIN $SRC
|
$LIN $SRC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ">> Assembling $SRC"
|
|
||||||
$ASM $SRC $DST
|
$ASM $SRC $DST
|
||||||
|
|
||||||
if [[ "$*" == *"--save"* ]]
|
if [[ "$*" == *"--save"* ]]
|
||||||
then
|
then
|
||||||
echo ">> Saving $DST"
|
|
||||||
cp $DST $CPY
|
cp $DST $CPY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ">> Running $DST"
|
|
||||||
$EMU $DST $ARG
|
$EMU $DST $ARG
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
( Usage: uxncli hx.rom file.bin )
|
( uxncli hx.rom file.bin )
|
||||||
|
|
||||||
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|
||||||
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
||||||
|
|
|
@ -3,33 +3,23 @@
|
||||||
ASM="uxncli $HOME/roms/drifblim.rom"
|
ASM="uxncli $HOME/roms/drifblim.rom"
|
||||||
EMU="uxncli"
|
EMU="uxncli"
|
||||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||||
APP="$HOME/bin/butler push"
|
|
||||||
|
|
||||||
SRC="opctest.tal"
|
SRC="opctest.tal"
|
||||||
DST="opctest.rom"
|
DST="opctest.rom"
|
||||||
|
|
||||||
CPY="$HOME/roms"
|
CPY="$HOME/roms"
|
||||||
ARG=""
|
ARG=""
|
||||||
|
|
||||||
echo ">> Cleaning"
|
|
||||||
rm -rf bin
|
|
||||||
mkdir bin
|
|
||||||
|
|
||||||
if [[ "$*" == *"--lint"* ]]
|
if [[ "$*" == *"--lint"* ]]
|
||||||
then
|
then
|
||||||
echo ">> Linting $SRC"
|
|
||||||
$LIN $SRC
|
$LIN $SRC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ">> Assembling $SRC"
|
|
||||||
$ASM $SRC $DST
|
$ASM $SRC $DST
|
||||||
|
|
||||||
if [[ "$*" == *"--save"* ]]
|
if [[ "$*" == *"--save"* ]]
|
||||||
then
|
then
|
||||||
echo ">> Saving $DST"
|
|
||||||
cp $DST $CPY
|
cp $DST $CPY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ">> Running $DST"
|
|
||||||
$EMU $DST $ARG
|
$EMU $DST $ARG
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue