Users browsing this thread: 1 Guest(s)
FF4 SNES SRM Checksum
02-13-2017, 05:34 PM
Aha! I got the debugger working and quickly figured out my goofs. 1) I had neglected to increment the 16-bit accumulated value when there was a carry. (I knew the C in ADC wasn't there for kicks!) 2) I was incorrectly adding a word at the beginning of the data block.
After tweaking my code, it works every time. The best part? That mysterious initial value? It's 0. No need to investigate all of that $41 business.
Interestingly, my disassembly addresses were slightly off from what yours were. Maybe that's down to a tool difference?
Thank you so much for the quick debugging/breakpoint how-to. It saved the day!
After tweaking my code, it works every time. The best part? That mysterious initial value? It's 0. No need to investigate all of that $41 business.
Interestingly, my disassembly addresses were slightly off from what yours were. Maybe that's down to a tool difference?
Thank you so much for the quick debugging/breakpoint how-to. It saved the day!
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)