mirror of
https://github.com/g012/l65.git
synced 2024-06-12 01:29:44 +00:00
Fixed DASM symbol file generation.
This commit is contained in:
parent
1245156c19
commit
99deb2b875
2
6502.lua
2
6502.lua
|
@ -396,7 +396,7 @@ M.getsym_as = {
|
||||||
dasm = function() -- .sym
|
dasm = function() -- .sym
|
||||||
local fmt,rep = string.format,string.rep
|
local fmt,rep = string.format,string.rep
|
||||||
local s = M.getsym(function(a,l) return fmt("%s%s %04x", l, rep(' ',24-#l), a) end)
|
local s = M.getsym(function(a,l) return fmt("%s%s %04x", l, rep(' ',24-#l), a) end)
|
||||||
table.insert(s, 1, {'--- Symbol List'})
|
table.insert(s, 1, '--- Symbol List')
|
||||||
s[#s+1] = '--- End of Symbol List.'
|
s[#s+1] = '--- End of Symbol List.'
|
||||||
return table.concat(s, '\n')
|
return table.concat(s, '\n')
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user