| |
xIII
Registered: Nov 2008 Posts: 210 |
Compare 2 .prg to find bug
I want to compare two uncompressed c64 .prg files (my prg vs the original prg) to find a difference.
Maybe someone has already written such a program and is willing to share ? |
|
| |
tlr
Registered: Sep 2003 Posts: 1803 |
For a simple byte compare, cdif can do it. Here: cbmtools 0.8 |
| |
xIII
Registered: Nov 2008 Posts: 210 |
Ok, thanks.
I tried cdif -otest.txt my.prg s.prg
and it started comparing but it didn't wrote an output file. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Just hexdump both .prg's and then diff the hexdumps. |
| |
xIII
Registered: Nov 2008 Posts: 210 |
@Compyx: you make it sound so easy...
If i do chd my.prg, the dos box shows the dump but no file is written.
How can I see the result of the dump or the compare ? |
| |
xIII
Registered: Nov 2008 Posts: 210 |
cdif my.prg s.prg > output.txt did the job.
thx for the support. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11499 |
If you are on windows - Totalcommander has a visual bindiff thingy :) |
| |
Rastah Bar Account closed
Registered: Oct 2012 Posts: 336 |
I've used kdiff in the past:
http://kdiff3.sourceforge.net/ |
| |
Knight Rider
Registered: Mar 2005 Posts: 133 |
I use these 2
https://www.fairdell.com/hexcmp/
https://mh-nexus.de/en/hxd/ |
| |
map
Registered: Feb 2002 Posts: 27 |
vbindiff is another possibility:
https://www.cjmweb.net/vbindiff/ |
| |
Count Zero
Registered: Jan 2003 Posts: 1966 |
For the linux console I found "vbindiff" among the best. |