Users browsing this thread: 1 Guest(s)
FF4 SNES SRM Checksum

#8
Posts: 7
Threads: 1
Thanks Received: 0
Thanks Given: 0
Joined: Feb 2017
Reputation: 0
Status
None
Awesome!  Thanks for the source assembly code.  It's been a long time since I've dealt with assembly code (~17 years or so), so I'll need to brush up on it to get familiar with what these op codes and instructions do on the 65816.  
If I understand what you said correctly, and from looking at the main loop (0x1cc7b to 0x1cc80) it treats the data as 16-bit (accumulator set to 16 bits  at 0x1cc6d), but only increments the byte address by 1?
So if my 16-bit words are as follows,
0x1122
0x3344
0x5566
It would add 0x1122, 0x2233, 0x3344, 0x4455, 0x5566 and then set the accumulator to 8-bit mode (effectively dropping all higher bits) and return that as the 16(?)-bit checksum?

Am I kind of on the right track?
  Find
Quote  



Messages In This Thread
FF4 SNES SRM Checksum - by stonerbot613 - 02-10-2017, 09:44 PM
RE: FF4 SNES SRM Checksum - by madsiur - 02-11-2017, 10:55 AM
RE: FF4 SNES SRM Checksum - by stonerbot613 - 02-12-2017, 12:15 AM
RE: FF4 SNES SRM Checksum - by madsiur - 02-12-2017, 12:46 AM
RE: FF4 SNES SRM Checksum - by Vertigo - 02-12-2017, 12:48 AM
RE: FF4 SNES SRM Checksum - by stonerbot613 - 02-12-2017, 01:11 AM
RE: FF4 SNES SRM Checksum - by m06 - 02-12-2017, 03:05 PM
RE: FF4 SNES SRM Checksum - by stonerbot613 - 02-12-2017, 03:50 PM
RE: FF4 SNES SRM Checksum - by m06 - 02-12-2017, 04:09 PM
RE: FF4 SNES SRM Checksum - by assassin - 02-12-2017, 04:41 PM
RE: FF4 SNES SRM Checksum - by stonerbot613 - 02-13-2017, 12:34 AM
RE: FF4 SNES SRM Checksum - by m06 - 02-13-2017, 04:00 AM
RE: FF4 SNES SRM Checksum - by assassin - 02-13-2017, 06:37 AM
RE: FF4 SNES SRM Checksum - by stonerbot613 - 02-13-2017, 03:21 PM
RE: FF4 SNES SRM Checksum - by m06 - 02-13-2017, 04:38 PM
RE: FF4 SNES SRM Checksum - by stonerbot613 - 02-13-2017, 05:34 PM
RE: FF4 SNES SRM Checksum - by m06 - 02-13-2017, 07:10 PM
RE: FF4 SNES SRM Checksum - by assassin - 02-13-2017, 07:37 PM
RE: FF4 SNES SRM Checksum - by m06 - 03-01-2017, 01:37 PM
RE: FF4 SNES SRM Checksum - by Grandirus - 04-27-2017, 12:26 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite