mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-22 22:05:11 +00:00
Updated asma script to match source code changes
This commit is contained in:
parent
a399c81e2f
commit
3e395e56b0
2 changed files with 6 additions and 6 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue