MUSCLE (U): Fix verify_pass1.py crash (a: prefix parsing), CDL reclass overrides

Urban Champion (JU): Pass 1 complete (CDL verified), Pass 2 complete
  - 519 labels renamed to semantic names via pass2.py apply
  - 10 zero-page semantic aliases added to locals.inc
  - Branch table at CB70-CBAC restructured per CDL (CB70-CB90=data, CB91-CBAC=code)
  - E07F-E09D region fixed (misaligned decode at E08D)
  - BYTE-IDENTICAL at PRG level verified

Tools:
  - cdl_reclass.py: overrides now win over CDL conflicts
  - nesdis.py: fixed a: prefix parsing for JSR/JMP operands; IND mode emits no a: prefix
  - verify_pass1.py: all 17 top-level projects pass, no crashes
This commit is contained in:
tmerritt committed 2026-10-18 20:04:34 -04:00
1 parent 62866563ba
commit b7104a8f80
17 files changed
+17025 -123

No files matched your search

+2 -1
View File
@@ -260,7 +260,8 @@ def main():
if not (body[i] & 3) or tgt[i] == k:
tgt[i] = k
else:
conflicts.append(f'${BASE+i:04X}: CDL says {tgt[i]}, override says {k}')
conflicts.append(f'${BASE+i:04X}: CDL says {tgt[i]}, override says {k} (override wins)')
tgt[i] = k # override always wins when explicitly specified
# ---- region derivation ----
def merge(iv):