This tool use used to compare two files.
I wrote it because I had some harddisk trouble which involved
corrupted files and the only way to detect if a file was corrupt
was to compare the entire file with a file from my backup.
FileComp compares the file's date, comment, protections bits,
size and, if the size is equal the file contents is compared.
It is excellent for comparing many files at the same time by
putting them in a script as the output is always just one line
which makes it quite easy to see the differences in the output.
The compare routine are very fast and written in assembly.
The core looks like this:
MOVE.L #16383,D0 ;uses 64k buffers
loop:
CMPM.L (A0)+,(A1)+
DBNE D0,loop
--
Other programs by Deniil 715! can be found on OnyxSoft homepage at:
http://www.onyxsoft.nu/
Feel free to mail me if you found bugs or have suggestions!
|