home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / f / pip.arc / PIP.NOT < prev   
Text File  |  1993-03-30  |  3KB  |  51 lines

  1.     4/21/86
  2.     TO:       David Jewett, III
  3.               Harry Kaemmerer
  4.               PPIP users
  5.  
  6.     FROM:     Bruce Morgen
  7.               North American One-Eighty Group
  8.               P.O. Box 2781
  9.               Warminster, PA  18974
  10.  
  11.     Subject:  PPIP12
  12.  
  13.     PIP12 came about because of the extreme usefulness and competence of 
  14.     PPIP11, which led me to examine the source code.  Following the 
  15.     philosophy of using defined bytes near the beginning of the program 
  16.     to control various characteristics via simple patching rather than 
  17.     reassembly (the most common 8080 assemblers, ASM and MAC, are pretty 
  18.     slow by today's standards), one can change the entire command line 
  19.     syntax of PPIP11 by altering a single byte.  In CP/M mode, PPIP11 
  20.     follows the traditional DRI syntax used in PIP 1.5 and followed by 
  21.     such popular programs as Dave Rand's USQ120 and the ZCPR3 MCOPY 
  22.     utility, while in MS-DOS mode PPIP11 emulates the MS-DOS COPY 
  23.     command, like Jim Lopushinky's NSQ111 and Sigi Kluger's USQZ13. 
  24.  
  25.     Since the routine for `flipping' the syntax was already there, it 
  26.     occured to me that BOTH styles could be easily supported by the 
  27.     simple expedient of scanning the command line tail for `=', which all 
  28.     of the known CP/M-style utilties use as a delimiter between filenames 
  29.     - all the programs that follow the more `natural' (unless you are as 
  30.     brain-trained in CP/M conventions as I am) MS-DOS approach use only 
  31.     ASCII spaces as delimiters. 
  32.  
  33.     By giving up the use of spaces and commas in CP/M mode (if anyone 
  34.     actually does that, stick with PPIP11), I made PPIP12 fully 
  35.     automatic.  Use it like PIP or USQ: it works.  Use it like COPY or 
  36.     SQ: it STILL works.  The neat single file form (B11>ppip 
  37.     a7:myfile.txt) works exactly as before. 
  38.  
  39.      I also added two somewhat minor (unless they apply to your system 
  40.     and/or work style) features.  I inserted a call to to BDOS function 
  41.     48, which is unsupported in CP/M 2.2 and harmless in other 8-bit DRI 
  42.     systems.  This addition detects the presence of Echelon's ZRDOS, 
  43.     which does not require a disk reset for a safe disk write, and skips 
  44.     the ensuing call to BDOS 13 if ZRDOS is resident.  This is a 
  45.     substantial speed-up for ZRDOS users and has no effect on the 
  46.     operation of the program under vanilla BDOS.  I also added a couple 
  47.     of lines of code to support a ZCPR3-style help request (PPIP //). 
  48.  
  49.                              Enjoy!
  50.     
  51.    !"#    &  (        -.                78              @