                            REPCS.MAC
                          Version 1.00
                          renamed from
                           REPLACE.ASM
                               by
                 Maryanne Weston & Donald I. Hay
                Compuserve 70310,164 & 72416,3442
          Copyright 1984. Placed in the public domain.
                  Not to be traded for profit.


               DOC file by Robert Flagg 72466,2332
                         April 24, 1984


 NOTE:  REQUIRES DIGITAL RESEARCH'S MAC AND THE I/O LIBRARY FILE 
                     SEQIO.LIB FOR ASSEMBLY



     Finds and replaces a given character in a file.  Usage is:

     A>REPCS sourcefile destfile

     Most useful for replacing the ^S (ctl-S) character in 
WordStar files, to allow subsequent use of WordStar's search-and-
replace function for global replacement.

     The replacement character is '@'.  To change the replacement 
character, change the HEX value added (ADI) to ^S in "CYCLE" in 
the source code (REPCS.MAC).  For example, 13H (^S) + 2DH = 40H 
(@).

     You should be able to patch the replacement character using 
DDT.  Address is:  02F7H.  The search character is located at 
02F2H.
