Re:Celebrating the first NES Tetris game crash
by deater on Friday December 22, 2023 @10:35PM
(#38741395)
It's likely it's 3 bytes of BCD (binary coded decimal). It's a handy way of storing things like scores, especially on 6502 processors which have built-in BCD handling support.
[ Parent
| on HN ]
Re:Celebrating the first NES Tetris game crash
by hcs on Friday December 22, 2023 @10:38PM
(#38741409)
No BCD support on the specific chip used in the NES, though.
Re:Celebrating the first NES Tetris game crash
by tom_ on Saturday December 23, 2023 @12:04AM
(#38741772)
Looks like it might be doing the bcd by hand. See, e.g., L93C7 (and following code) in the disassembly here: https://github.com/CelestialAmber/TetrisNESDisasm