Usage: mdiff [-rrange...] files... [>results.txt]
       mdiff -?         for help
       mdiff            for usage instructions

Upto 100 files can be specified (the DOS wildcards ? and * are accepted)
and  100 '-r' ranges can also be specified.  If no -r options are given
the range is the extent of the file(s).  Files are only compared upto
the extent of the shortest file.

The range specification takes four forms:
-raaaa        differences at a specific address
-raaaa/bbbb   differences between two inclusive addresses
-raaaa/       differences between aaaa and the end of the file
-r/bbbb       differences from the start of the file to bbbb

All addresses are in hex, and there is no space between the 'r' and the address.
Eg.
mdiff -r0080/7fc0 *.sav
mdiff -r0000 -r8000/8100 -r9000/ *.sav

This is most useful on save game files, for spotting trends in the game state,
points, ammunition, credits etc.  

Typically you would save several files in quick succession, and use this
program to spot these trends, as a pre cursor to 'improving' your lot in life!

Initially look at a save game (using a hex viewer) to spot likely looking
areas for the bits you are interested in, then use the '-r' option to
specify these areas.  This will help reduce the volume of data produced.

I would recommend that you write the output to a file for later use
in a text editor.  Be warned that the output file can grow very large,
so you may need a text editor that can cope with very large files.

The program will use upto 500K of conventional memory for storing parts
of each file as they are compared, though it should work with less, if
somewhat more slowly. 

A point to note is that you will need a file handle for each file
you specify, so you will need a suitable value for the FILES command
in your config.sys, if you intend to compare a large number of files.

This program is FREE, and is supplied 'AS IS', without any warranty.
If you have any problems, suggestions or questions regarding this program,
then you can contact me via compuserve.

This program was tested on a 486DX50 running under DOS6.0.

(c)1995 S.P.Critchlow
100023.1265@compuserve.com
