[Coco] S-Record test

jdaggett at gate.net jdaggett at gate.net
Sat Jan 7 16:38:01 EST 2006


Roger

According to documentaion that I have the S9 record line should be 

S9030000FC

This properly terminated the Motorola S Record. 

As Robert stated you checksum is incorrect. Proper calculation should be as follows:

Checksum 2 printable Characters( 1 byte)  Will be the Least significant byte of the one´s 
complement of the sum of the values represented by the pairs of characters making up the 
record length, address, and the code/data fields.

So The first line

S113C0008EC058A6802706AD9FA00220F6108E00A4

should add up as

record length $13 
start address $C0 + $00 
data  $8E+C0+58+A6+80+27+06+AD+9F+A0+02+20+F6+10+8E+00

Checksum should add up to $76E. Take the least significant byte and do a one's 
compliment on it, NOT(6E) = $91

If you want you can add the header record (S0):

S00600004844521B

That is the minimum needed. $48, $44, and $52 are the ascii characters for HDR.


james


On 7 Jan 2006 at 0:07, Roger Taylor wrote:

Date sent:      	Sat, 07 Jan 2006 00:07:47 -0600
To:             	cocoList for Color Computer Enthusiasts <coco at maltedmedia.com>
From:           	Roger Taylor <roger at newfoal.com>
Subject:        	[Coco] S-Record test
Send reply to:  	CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
	<mailto:coco-request at maltedmedia.com?subject=unsubscribe>
	<mailto:coco-request at maltedmedia.com?subject=subscribe>

> Can someone burn this Motorola S-Record file to an EPROM and run it as a 
> CoCo ROM Pak and tell me what it does?
> 
> :)
> 
> by Portal-9 IDE
> 
> S113C0008EC058A6802706AD9FA00220F6108E00A4
> S113C01007868F8D35C61E8E0401A78901E0A780A2
> S113C0205A26F73001C60EA784A7881F3088205AF8
> S113C03026F5C680F70400F7041FF705E0F705FFC2
> S113C0408B10313F1026FFCB20C3C60F7DFF027D41
> S113C050FF032AFB5A26F5390D0D20205448495388
> S113C060204953204120434F434F20524F4D205000
> S113C070414B0D0D20204255494C54204259205935
> S113C0804F552E2E2E0D0D20204152452057452083
> S113C090484156494E472046554E205945543F0D8B
> S113C0A00D0D2020504C45415345205055524348E9
> S113C0B0415345205241494E424F570D0D202041E9
> S113C0C04E4420474554204652454520555047524D
> S113C0D041444553210D0D20205757572E524149C8
> S10FC0E04E424F574944452E434F4D004A
> S9030000FF
> 
> -- 
> Roger Taylor
> 
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco





More information about the Coco mailing list