home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / a / acopy30.ark / ACOPY30.HIS < prev    next >
Encoding:
Text File  |  1990-04-13  |  9.4 KB  |  179 lines

  1. ; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. ; *                                                               *
  3. ; *                           A C O P Y                           *
  4. ; *                                                               *
  5. ; *                 An Enhanced ZCPR3-Compatible                  *
  6. ; *                       File Copy Utility                       *
  7. ; *                                                               *
  8. ; *                     Copyright (c) 1986-90                     *
  9. ; *                              by                               *
  10. ; *                          Terry Hazen                          *
  11. ; *                     21460 Bear Creek Road                     *
  12. ; *                      Los Gatos, CA 95030                      *
  13. ; *                                                               *
  14. ; *                Voice.......... (408) 354-7188                 *
  15. ; *                Saratoga RBBS.. (408) 354-5934                 *
  16. ; *                Zee-Machine.... (408) 245-1420                 *
  17. ; *                Ladera Znode... (213) 670-9465                 *
  18. ; *                                                               *
  19. ; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  20. ;
  21. ;=======================================================================
  22.  
  23.  
  24. Copying times are affected by many factors, including CPU speed, disk
  25. drive hardware, disk and directory fragmentation, and whether
  26. datestamping (requiring a physical track select to the !!!TIME&.DAT
  27. file) is being done.  A set of copy speed tests was performed to compare
  28. the performance of ACOPY22, ACOPY30, AC49 and COPY164 in one specific
  29. and consistent environment on an 4mhz AMPRO system running NZCOM/ZSDOS.
  30. The copy utility under test was run from MDISK_ramdiskA using a copy
  31. alias, timed with TIME.COM, to copy 18 files/204k from floppy_diskC
  32. (96tpi with 3ms step rate) to floppy_diskD (48tpi with 6ms step rate)
  33. without CRC verification.  The difference in the starting and ending
  34. TIME.COM readouts gave the elapsed times.  Source and destination
  35. directories were prelogged.  The ZR/ZSDOS copy utilities AC49 and
  36. COPY164 were run as comparisons.
  37.  
  38. Percentages shown are improvements in copy time required by
  39. ACOPY30 over the time required by ACOPY22 under the same
  40. conditions:  (1-(acopy30_time)/(acopy22_time))*100%.  It should
  41. be noted that these times and percentages could vary greatly
  42. under different conditions and serve mainly to show the general
  43. degree of improvement that can result from source and destination
  44. disk directory caching.
  45.  
  46.  
  47.      Sample copy alias: A0>time;acopy30 c:files*.* d: /v;time
  48.  
  49.                     w/o datestamping
  50.      Utility     w/SPEEDUP w/oSPEEDUP   w/datestamping
  51.      -------------------------------------------------
  52.      ACOPY30:       55 sec    56 sec         89 sec
  53.                    (34%)     (43%)          (31%)
  54.      ACOPY22:       84 sec    98 sec        129 sec
  55.  
  56.      AC49:          84 sec    92 sec        109 sec
  57.      COPY164:       87 sec    93 sec        119 sec
  58.  
  59. ;
  60. ; Revision History
  61. ; ----------------
  62. ;
  63. ; 02/16/90    Now caches up to 256 source and 256 destination disk
  64. ;   v3.0    directory entries in RAM, based on Hal Bower's SPEEDUP
  65. ;        RSX, for extra fast copying, especially when using
  66. ;        floppy disks.  Fixed bug in disk free space routine and
  67. ;        adapted it and DOS checking routines that should enable
  68. ;        ACOPY30 to run properly under CP/M 3.0.  Added two new 
  69. ;         options: 'A' (inactivated in distribution release but 
  70. ;        may be user-activated by patching) to limit copying to 
  71. ;        directory and not system files, and 'Y' to allow making 
  72. ;        destination files system files.
  73. ;            - Terry Hazen
  74. ;
  75. ; 06/07/89      Unreleased version fixing long-time bug in DELARG that
  76. ;   v2.2a       doesn't properly delete last argument.  Doesn't really
  77. ;               affect operation but helps tidy up loose ends.
  78. ;                       - Terry Hazen
  79. ;
  80. ; 06/03/89      Fixes bug in ZSDOS datestamping functions by zeroing
  81. ;   v2.2        FCBs and setting user numbers before making the ZSDOS
  82. ;               datestamping calls.  Otherwise identical to ACOPY21.
  83. ;                       - Terry Hazen.
  84. ;
  85. ; 05/16/89      Added optional third filename specification for files
  86. ;   v2.1        to be excluded from copying.  Will copy a file only if
  87. ;               sufficient free space exists for it on the destination
  88. ;               disk.  Added 'D' option to archive the destination
  89. ;               files.  For mnemonic consistency, the 'A' option has
  90. ;               been renamed to 'S' and the 'S' option has been renamed
  91. ;               to 'X'.  Reorganized the command line help screen option
  92. ;               sequence by function and added default "Don't" prefix
  93. ;               for ON when no other ON message exists.  Added support
  94. ;               for the  DRVEC valid drive vector in the extended ZCPR3
  95. ;               environment.  Now automatically copies datestamps from
  96. ;               source to destination files when operating under either
  97. ;               Z80DOS or ZDDOS/ZSDOS.  New 'C' option allows suppression
  98. ;               of datestamp copying.  Sets the ZCPR3 program error flag,
  99. ;               if present, depending on the type of error.
  100. ;                       - Terry Hazen
  101. ;
  102. ; 11/17/88      Added separate 'A' option for archiving source files.
  103. ;   v2.0        'N' option still copies only non-archived files, but
  104. ;               no longer automatically archives source files.  Using
  105. ;               both the 'A' and 'N' options is the same as using the
  106. ;               old 'N' option.  ACOPY20.PAT is now the correct file.
  107. ;                       - Terry Hazen
  108. ;
  109. ; 10/27/88      Added user patch area for things like Z80DOS patches.
  110. ;   v1.9        Included in the user patch area, but not activated,
  111. ;               are Gene Nolan's routines from ACOPOZ8D.Z80 for
  112. ;               implementing date stamping under Z80DOS.  See ACOPY.PAT
  113. ;               for more information.  Also added 'V' option to allow
  114. ;               turning verification on or off.
  115. ;                       - Terry Hazen
  116. ;
  117. ; 05/06/88      Revised to support user numbers up to 32 and to operate
  118. ;   v1.8        correctly with the ZCPR3 GO command.  Now always resets
  119. ;               destination filename archive bit.
  120. ;                       - Terry Hazen
  121. ;
  122. ; 12/11/87      Shortened status message display to remove intermediate
  123. ;   v1.7        status messages from final display line.
  124. ;                       - Terry Hazen
  125. ;
  126. ; 10/30/87      Added du: to filename displayed on error return.
  127. ;   v1.6        Files not matching the attribute specification are
  128. ;               no longer displayed.  Eliminated the '*' AND option.
  129. ;               Changed the 'A' option letter to 'N' to better specify
  130. ;               NON-archived files.  Revised the help screen.
  131. ;                       - Terry Hazen
  132. ;
  133. ; 09/03/87      Limited release.  Revised option display and status
  134. ;   v1.5        messages and added '- Source Archived' status message.
  135. ;               Changed QDELET to allow different lengths of strings
  136. ;               to be deleted.  Fixed typo in ZINIT routine that always
  137. ;               reflected ZCPR3 QUIET flag setting regardless of what
  138. ;               our flag's initial setting was.
  139. ;                       - Terry Hazen
  140. ;
  141. ; 03/10/87      Version 1.4 release.  Added full ZCPR3 compatibility.
  142. ;   v1.4        When operating in a ZCPR3 environment, accepts dir: as
  143. ;               well as du: form, gets screen width, quiet flag,
  144. ;               maxdrive, and maxuser from ZCPR3 environment, sets
  145. ;               ZCPR3 program error flag if errors occur, sets ZEX
  146. ;               status flag to 2 to suppress automatic input.  Program
  147. ;               name in HELP message is derived from external FCB.
  148. ;               ZCPR3 features are ignored if ZCPR3 environment is not
  149. ;               present.  Displays the number of files copied on
  150. ;               completion of the program.  Program name, maxdrive,
  151. ;               maxuser, screen width may be modified by patching for
  152. ;               non-ZCPR3 applications.  A patch location also allows
  153. ;               cancellation of the 'Files Copied' display.
  154. ;                       - Terry Hazen
  155. ;
  156. ; 02/17/87      Internal, unreleased version.   Added M (Move) option
  157. ;   v1.3        to delete the source file after the copy is complete.
  158. ;               Revised source to Z80 code for smaller size and faster
  159. ;               assembly using Z80ASM.
  160. ;                       - Terry Hazen
  161. ;
  162. ; 09/15/86      Version 1.2 release.  Added S (Skip) option to skip
  163. ;   v1.2        copying if destination files of the same name already
  164. ;               exist.
  165. ;                       - Terry Hazen
  166. ;
  167. ; 07/25/86      Version 1.1 release.  Improved command line help
  168. ;   v1.1        request parsing so that initial filename character
  169. ;               can be '/' or '?' without calling up the help screen.
  170. ;               Changed attribute option entry to allow default ORing
  171. ;               of attribute selections.  Added '*' option to change
  172. ;               the attribute logic to AND (as in version 1.0).
  173. ;                       - Terry Hazen
  174. ;
  175. ; 06/03/86      Initial release.
  176. ;   v1.0                - Terry Hazen
  177. ;
  178. ;=======================================================================
  179.