REFORGE
Atari 2600 / F94
BEING VERIFIED

The lifter dropped decimal mode: SED/CLD were NOPs, all BCD score math ran binary

STATUS
BEING VERIFIED
AREA
CPU
RECORDED
2026-06-11
PUBLIC SOURCE
Research dossier / finding 94
RECORD ID
atari2600-f94
SNAPSHOT
a58ea4ac37c644e9

lifter.py lifted SED/CLD into the generic flag-NOP bucket, so the standard 2600 score idiom (SED / CLC / ADC score / CLD — Pac-Man's add-score routine at $FC45, and the same shape in most of the era's library) silently performed BINARY arithmetic: ten dots showed $0A instead of BCD $10, corrupting every displayed digit past 9. Fix: cpu->decimal_mode flag in CpuState; SED/CLD NOP-comments now emit set/clear; ADC/SBC emission branches at runtime into…

Raw traces, ROM material, local paths, and personal data are not part of this public record.