home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / filutl / comp13.lbr / COMP13.DZC / COMP13.DOC
Encoding:
Text File  |  1987-10-30  |  1.8 KB  |  41 lines

  1. COMP is a CP/M utility which can be used to compare two CP/M files
  2. (which will usually binary .COM object code files) to find any
  3. differences between them.  The files are compared byte for byte.  No
  4. attempt is made to vary the match points to establish a different
  5. synchronization if a prolonged mismatch is found, as would be done for
  6. ASCII files when using DIF2, etc.
  7.  
  8. The command line usage is:
  9.  
  10.         comp [d:]file1[.typ] [d:]file2[.typ]
  11.  
  12. The drive specification is optional, if not specified the logged in
  13. drive is assumed.  The file type specification is also optional for
  14. either file, if not specified, "COM" is assumed.
  15.  
  16. Discrepancies will be noted at the console in a line of the form:
  17.  
  18.                         xxxx yy zz
  19.  
  20. where xxxx is the number of the discrepant byte, yy in file1, zz in
  21. file2.  Pressing any key at the console will stop the comparison, but in
  22. any event there will be a final total shown of the bytes compared and
  23. the number of mismatches encountered.
  24.  
  25. Note: This program starts the display of any discrepancies at page 1
  26. (0100H) rather than at page 0 (0000H).  This gives absolute addresses
  27. for normal CP/M files which permits easy use of DDT or SID or an
  28. assembled print copy to check the discrepancies.  Relative addresses are
  29. relatively worthless for this purpose.
  30.  
  31. If for some reason you want relative addresses, change the label area
  32. RPRT1: INR H  to  RPRT1: DB 0  instead. Then reassemble and reload.
  33.  
  34. This program is modified from BINCOM.ASM written by Harold McIntosh.
  35.  
  36.                 BINCOM.ASM  Copyright (C) 1983
  37.                 Universidad Autonoma de Puebla
  38.                       September 16, 1983
  39.  
  40. The latest version is Version 1.3, dated October 27, 1987.
  41. ╚;