nga-python: fix dictionary lookups & update the embedded system image
FossilOrigin-Name: 1a0ec29139576a86bda601bb6b891f7dbbc3f6643944cd4d9656ca9993a6b3b7
This commit is contained in:
parent
c3f2218681
commit
59fbb49965
3 changed files with 1214 additions and 1311 deletions
|
@ -27,6 +27,9 @@ LIBDL ?=
|
|||
|
||||
# -------------------------------------------------------------
|
||||
|
||||
# If using the Python toolchain, remove the -DBIT64 from the
|
||||
# OPTIONS
|
||||
|
||||
OPTIONS ?=
|
||||
#OPTIONS += -DBIT64
|
||||
|
||||
|
@ -97,8 +100,7 @@ DEVICES += interface/descriptions.retro
|
|||
# -------------------------------------------------------------
|
||||
|
||||
GLOSSARY ?= ./bin/retro tools/glossary.retro
|
||||
ASSEMBLE ?= ./tools/retro-muri.py
|
||||
#EXTEND ?= ./tools/retro-extend.py
|
||||
ASSEMBLE ?= ./bin/retro-muri
|
||||
EXTEND ?= ./bin/retro-extend
|
||||
EXPORT ?= ./bin/retro-embedimage
|
||||
RETRO ?= ./bin/retro
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -149,7 +149,7 @@ class Retro:
|
|||
Dictionary = dict()
|
||||
header = self.memory[2]
|
||||
while header != 0:
|
||||
named = self.extract_string(header + 4)
|
||||
named = self.extract_string(header + 9)
|
||||
if not named in Dictionary:
|
||||
Dictionary[named] = header
|
||||
header = self.memory[header]
|
||||
|
@ -162,7 +162,7 @@ class Retro:
|
|||
header = self.memory[2]
|
||||
Done = False
|
||||
while header != 0 and not Done:
|
||||
if named == self.extract_string(header + 4):
|
||||
if named == self.extract_string(header + 9):
|
||||
self.Dictionary[named] = header
|
||||
Done = True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue