Re: A89: checksum (for normal files)
[Prev][Next][Index][Thread]
Re: A89: checksum (for normal files)
You have to sum the bytes of the raw ti89 data, then bitwise AND the
checksum by 0xffff (in C: checksum &= 0xffff). By 'sum' I don't just mean
counting the total number of bytes, I mean adding the ascii values of each
byte to a running total. The checksum, which is a 2-byte word, is written
in little endian (intel) format, just after the data.
On Tue, 20 Jun 2000, Jeremie Knusel wrote:
>
> hello
> does anyone know how to calculate the checksum for a 89t file? (to make it
> sendable with the ti-graph link program)
> I know there are programs to add it automatically but I look for the method
> to calculate it
> bye
> Jeremie Knusel
>
>
References: