|
|
Rockbox mail archiveSubject: RE: descrambleFrom: Björn Stenberg (bjorn_at_haxx.se) Date: 2001-12-11
Andy Choi wrote:
> (sum of all unscrambed bytes,
Ahhh, I should have guessed it was something that simple... :-)
> plus a version-specific offset)
Actually, the version offset is not needed. It was just a little mistake:
> // compute checksum
Here's my simple checksum program in C, using a 16-bit integer:
#include <stdio.h>
int main (int argc, char** argv)
I'll make a full "scramble.c" and put it on the web page.
Good job!
/Björn
Page was last modified "Mar 9 2008" The Rockbox Crew |