Housekeeping
This commit is contained in:
parent
6d6f73040d
commit
072e48e503
|
@ -3,7 +3,6 @@
|
|||
ASM="uxncli $HOME/roms/drifblim.rom"
|
||||
EMU="uxncli"
|
||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||
APP="$HOME/bin/butler push"
|
||||
|
||||
SRC="checksum.tal"
|
||||
DST="checksum.rom"
|
||||
|
@ -12,8 +11,6 @@ CPY="$HOME/roms"
|
|||
ARG="test.txt"
|
||||
|
||||
echo ">> Cleaning"
|
||||
rm -rf bin
|
||||
mkdir bin
|
||||
|
||||
if [[ "$*" == *"--lint"* ]]
|
||||
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
|
||||
|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"
|
||||
EMU="uxncli"
|
||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||
APP="$HOME/bin/butler push"
|
||||
|
||||
SRC="format-c.tal"
|
||||
DST="format-c.rom"
|
||||
|
@ -12,8 +11,6 @@ CPY="$HOME/roms"
|
|||
ARG="test.txt"
|
||||
|
||||
echo ">> Cleaning"
|
||||
rm -rf bin
|
||||
mkdir bin
|
||||
|
||||
if [[ "$*" == *"--lint"* ]]
|
||||
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
|
||||
|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"
|
||||
EMU="uxncli"
|
||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||
APP="$HOME/bin/butler push"
|
||||
|
||||
SRC="hx.tal"
|
||||
DST="hx.rom"
|
||||
|
||||
CPY="$HOME/roms"
|
||||
ARG="test.txt"
|
||||
|
||||
echo ">> Cleaning"
|
||||
rm -rf bin
|
||||
mkdir bin
|
||||
|
||||
if [[ "$*" == *"--lint"* ]]
|
||||
then
|
||||
echo ">> Linting $SRC"
|
||||
$LIN $SRC
|
||||
fi
|
||||
|
||||
echo ">> Assembling $SRC"
|
||||
$ASM $SRC $DST
|
||||
|
||||
if [[ "$*" == *"--save"* ]]
|
||||
then
|
||||
echo ">> Saving $DST"
|
||||
cp $DST $CPY
|
||||
fi
|
||||
|
||||
echo ">> Running $DST"
|
||||
$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
|
||||
|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"
|
||||
EMU="uxncli"
|
||||
LIN="uxncli $HOME/roms/uxnlin.rom"
|
||||
APP="$HOME/bin/butler push"
|
||||
|
||||
SRC="opctest.tal"
|
||||
DST="opctest.rom"
|
||||
|
||||
CPY="$HOME/roms"
|
||||
ARG=""
|
||||
|
||||
echo ">> Cleaning"
|
||||
rm -rf bin
|
||||
mkdir bin
|
||||
|
||||
if [[ "$*" == *"--lint"* ]]
|
||||
then
|
||||
echo ">> Linting $SRC"
|
||||
$LIN $SRC
|
||||
fi
|
||||
|
||||
echo ">> Assembling $SRC"
|
||||
$ASM $SRC $DST
|
||||
|
||||
if [[ "$*" == *"--save"* ]]
|
||||
then
|
||||
echo ">> Saving $DST"
|
||||
cp $DST $CPY
|
||||
fi
|
||||
|
||||
echo ">> Running $DST"
|
||||
$EMU $DST $ARG
|
||||
|
||||
|
|
Loading…
Reference in New Issue