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.