Skip to content
Snippets Groups Projects
Commit 15776faa authored by Jakob Kirsch's avatar Jakob Kirsch
Browse files

fix symbols map

parent 91a2edb6
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,8 @@ with open("sysmap.txt", "r") as file: ...@@ -28,6 +28,8 @@ with open("sysmap.txt", "r") as file:
for line in file.readlines(): for line in file.readlines():
ln = line ln = line
line = ("_".join(line.split("_")[1:])).split(" ")[:2] line = ("_".join(line.split("_")[1:])).split(" ")[:2]
if line[0] == "":
continue
try: try:
content += "%define " + line[0] + " " + hex(0x7a00 + int(line[1])) + "\n" content += "%define " + line[0] + " " + hex(0x7a00 + int(line[1])) + "\n"
except: except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment