home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / demon / amstrad / logofix.arc / COMPAT.DOC < prev    next >
Encoding:
Text File  |  1993-05-28  |  2.0 KB  |  49 lines

  1. COMPAT v1.00                                             J. Elliott, March 1993.
  2. ================================================================================
  3.  
  4.   This program is similar to Phil Wheeler's HEXPAT program. The difference is
  5. that instead of taking a .HEX file as input, it takes a simple ASCII difference
  6. file. This ASCII file is in the same format as those produced by the well-known
  7. PD program COMPARE.COM. COMPAT requires CP/M Plus and a Z80 processor.
  8.  
  9. The syntax is:
  10.  
  11.     COMPAT comfile cmpfile {/C} {/Q}
  12.  
  13. where:
  14.  
  15. comfile: is the .COM file you are patching. At the end, it is the new version
  16.         and comfile.BAK is the old version. If no filetype is supplied it is
  17.         assumed to be COM.
  18. cmpfile: is the ASCII file you are using to control the patching. If no filetype
  19.         is supplied it is assumed to be CMP.
  20. /C:      A "check" option. See below.
  21. /Q:      Quiet. If present, all progress reports are suppressed.
  22.  
  23. The format of the ASCII file is a number of lines:
  24.  
  25. ADDR EV NV {Comment}
  26.  
  27. ADDR is the address (0100 based) of the byte to alter.
  28. EV is the expected value of the byte. If the /C option is present and the
  29.   actual value of the byte differs from the expected value, all patching is
  30.   abandoned.
  31. NV is the new value to set the byte to.
  32. Comment is printed in progress reports but otherwise ignored.
  33.  
  34. If /Q is not present, a progress report is printed for every line:
  35.  
  36. ADDR AV EV NV Comment   - where ADDR EV NV and Comment are as above and AV is
  37.                          the actual value that was in the address before.
  38.  
  39. Compatibility with COMPARE.COM:
  40.  
  41. The files you are COMPAREing must be the same length. Use the command:
  42.  
  43. COMPARE oldfile newfile cmpfile
  44.  
  45. The comments produced will be the ASCII equivalent (if any) of EV and NV.
  46. ________________________________________________________________________________
  47.  
  48. COMPAT may be distributed freely provided this documentation file is included.
  49.