apple2
apple2 copied to clipboard
Undocumented behavior with BCD arithmetic
http://www.6502.org/tutorials/decimal_mode.html
A good introduction to undoc behavior of BCD arithmetic. At a minimum we should have a debug breakpoint for this so we can investigate disk images that might depend on it...
Currently there is a c_debug_illegal_bcd() function that will segfault if we ever his this. Recommend vigilance =)