From 3e395e56b0091801180f9ebc02361056f3ad665d Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Wed, 7 Jul 2021 20:23:06 +0100 Subject: [PATCH] Updated asma script to match source code changes --- etc/asma.lua | 6 +++--- etc/asma.moon | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/asma.lua b/etc/asma.lua index 05113ab..7feeb0b 100644 --- a/etc/asma.lua +++ b/etc/asma.lua @@ -24,7 +24,7 @@ local opcodes_in_order = { } do local wanted = false for l in assert(io.lines('src/uxnasm.c')) do - if l == 'char ops[][4] = {' then + if l == 'static char ops[][4] = {' then wanted = true elseif wanted then if l == '};' then @@ -202,7 +202,7 @@ do @asma-heap -|ff00 &end +|e000 &end ( Buffer for use with loading source code. @@ -214,7 +214,7 @@ do @asma-read-buffer -|ff80 &end +|f800 &end ( Buffer for use with writing output. diff --git a/etc/asma.moon b/etc/asma.moon index 30cfcd0..18a8843 100644 --- a/etc/asma.moon +++ b/etc/asma.moon @@ -35,7 +35,7 @@ opcodes_in_order = {} do -- opcodes wanted = false for l in assert io.lines 'src/uxnasm.c' - if l == 'char ops[][4] = {' + if l == 'static char ops[][4] = {' wanted = true elseif wanted if l == '};' @@ -168,7 +168,7 @@ with assert io.open 'projects/software/asma.tal.tmp', 'w' @asma-heap -|ff00 &end +|e000 &end ( Buffer for use with loading source code. @@ -180,7 +180,7 @@ with assert io.open 'projects/software/asma.tal.tmp', 'w' @asma-read-buffer -|ff80 &end +|f800 &end ( Buffer for use with writing output.