From 5d094603b01d61025055328438803292e4bd7fa4 Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Tue, 17 Aug 2021 20:33:53 +0100 Subject: [PATCH] Fixed asma-test.sh --- etc/asma-test.sh | 6 +++--- projects/software/asma.tal | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/asma-test.sh b/etc/asma-test.sh index e71ab4f..34876aa 100755 --- a/etc/asma-test.sh +++ b/etc/asma-test.sh @@ -10,8 +10,8 @@ build_asma() { cat < asma.tal ../bin/uxnasm asma.tal asma.rom > uxnasm.log -find ../projects -type f -name '*.tal' -not -name 'blank.tal' | sort | while read F; do +for F in $(find ../projects -type f -name '*.tal' -not -name 'blank.tal'); do echo "Comparing assembly of ${F}" BN="$(basename "${F%.tal}")" diff --git a/projects/software/asma.tal b/projects/software/asma.tal index 8da2b17..1fb8b86 100644 --- a/projects/software/asma.tal +++ b/projects/software/asma.tal @@ -1,6 +1,6 @@ ( devices ) -|00 @System [ &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 ] +|00 @System [ &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 &debug $1 &halt $1 ] |10 @Console [ &pad $8 &write $1 ] |a0 @File [ &vector $2 &success $2 &offset $2 &pad $2 &name $2 &length $2 &load $2 &save $2 ]