uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 3e395e56b0091801180f9ebc02361056f3ad665d
parent a399c81e2f2290159902b1c3d64153c34380b5d9
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Wed,  7 Jul 2021 20:23:06 +0100

Updated asma script to match source code changes

Diffstat:
Metc/asma.lua | 6+++---
Metc/asma.moon | 6+++---
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git 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 @@ -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.