View previous topic :: View next topic |
Author |
Message |
ecoology
Joined: 07 Nov 2006 Posts: 340 Location: USA - California
|
Posted: Sun Oct 07, 2007 1:36 am Post subject: comparing code versions |
|
|
I have a large program that has gone through several hundred versions. now I have a unit that works more or less as desired, but I can't find which version of the code I used tro generate the HEX [ yes, I know, I should be more organized, but with hundreds of modifications, that gets difficult].
Is there any reasonable way to compare a HEX file against a BAS file to see what the difference is? Obviously I can compile the BAS file, now I would have two HEX files, Can they be reverse compiled into machine language, so I can then compare two files? Or is there some better way to figure out which of several hundred Bas files compiles to a given HEX file?
thanks for any and all comments, even if I am told I should find something better to do with my time!
George |
|
Back to top |
|
|
Luciano
Joined: 29 Nov 2004 Posts: 3149 Location: Italy
|
Posted: Sun Oct 07, 2007 8:12 am Post subject: |
|
|
Hi George,
Try that:
(Click to enlarge).
Best regards,
Luciano |
|
Back to top |
|
|
jasreb
Joined: 03 Dec 2004 Posts: 41
|
|
Back to top |
|
|
ecoology
Joined: 07 Nov 2006 Posts: 340 Location: USA - California
|
Posted: Sun Oct 07, 2007 3:11 pm Post subject: |
|
|
HI luciano:
That gives me a modify date for the HEX file, but how can I tell the program date of a chip? It would be neat if there were a way to program into EEPROM a date [optionally] at the same time the flash is prgorammed. Studio does allow dor programming of EEPROM, but I don't know how to prepare a HEX file to do that.
Good to hear from you,
George |
|
Back to top |
|
|
Luciano
Joined: 29 Nov 2004 Posts: 3149 Location: Italy
|
Posted: Sun Oct 07, 2007 3:38 pm Post subject: |
|
|
Hi George,
See Bascom help file "Version".
Best regards,
Luciano |
|
Back to top |
|
|
ecoology
Joined: 07 Nov 2006 Posts: 340 Location: USA - California
|
Posted: Sun Oct 07, 2007 4:03 pm Post subject: |
|
|
Never saw that!
It's amazing what the eye does NOT see.
As always, thank you!
George |
|
Back to top |
|
|
|