dump memcard string data

This commit is contained in:
camthesaxman
2021-08-02 22:23:49 -05:00
parent 48524e6886
commit 617abb5fe5
4 changed files with 513 additions and 928 deletions
-920
View File
File diff suppressed because it is too large Load Diff
+7
View File
@@ -17,6 +17,13 @@ with open('supermonkeyball.map', 'rt') as f:
label = g[3]
labels[addr] = label
#print('label: %s, addr: %s' % (label, addr))
else:
m = re.match(r'\s+(\w+)\s+(\w+)\s+(\w+)\s+4\s+(\w+)', line)
if m:
g = m.groups()
addr = int(g[2], 16)
label = g[3]
labels[addr] = label
# replace pointers
for fname in sys.argv[1:]:
+3 -1
View File
@@ -24,7 +24,6 @@ FORCEACTIVE {
func_8008E5F8 func_8008E64C func_8008E698
mathutil_alignment
lbl_8028FE58
lbl_802BA360
fontStrArray alignStrArray lbl_801C0B94 lbl_801C0D24
@@ -41,3 +40,6 @@ lbl_801C1264 = 0x801C1264;
lbl_802F4A90 = 0x802F4A90;
lbl_802F4A98 = 0x802F4A98;
lbl_802F4AA4 = 0x802F4AA4;
/* memcard.s */
lbl_801D4288 = 0x801D4288;
+503 -7
View File
File diff suppressed because it is too large Load Diff