home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / filcpy / disk77b.lbr / DISK77B.DQC / DISK77B.DOC
Encoding:
Text File  |  1985-06-13  |  5.5 KB  |  106 lines

  1. ; title 'disk7 -- cp/m-80 file manipulation program'
  2.  
  3. VERS    EQU    7$7        ;version number..
  4. MONTH    EQU    01        ;..month..
  5. DAY    EQU    05        ;..day..
  6. YEAR    EQU    84        ;..and year.
  7.  
  8. ; copyright (c) 1984 by frank gaude'.  all rights reserved.  monetary
  9. ; gain not permitted under any circumstance by individual, partnership,
  10. ; or corporation, without written permission from copyright assignee,
  11. ; echelon, inc., los altos hills, ca.
  12.  
  13. ; 'disk7' is based on common ideas presented in 'cleanup', 'wash', and
  14. ; 'sweep', written by ward christensen, michael karas, and robert fisher
  15. ; respectively.  existence of these programs generated impetus for
  16. ; writing 'disk7'.
  17.  
  18. ; a single-screen menu is provided after entering 'disk7' followed by
  19. ; cursor return.  wildcard filenames and optional drive declaration are
  20. ; permitted.  disk7 [d:]*.asm shows only 'asm' files on [selected] or
  21. ; current drive.  pressing any other than a command key causes the menu
  22. ; to reappear.    narrow osborne-1 type crt screens are handled if osborne
  23. ; equate is set true before assembly.  full error trapping and command
  24. ; cancellation recovery are provided.  cancellation occurs by entering a
  25. ; <return>, if no other entry has been made and execution has not begun.
  26. ; command line prompts report incorrect operator responses and if hard-
  27. ; ware problems exist.
  28.  
  29. ; display is circular, single-file columnar, with crt console cursor
  30. ; moved 'forward' with <space> or <return>, and 'reverse' with 'b' or
  31. ; <backspace>.    drive remaining storage in kilobytes is automatically
  32. ; displayed whenever disks are logged-in or menu recalled.  if a user
  33. ; area with no files is logged-in, new 'dir'ectory prompt is presented;
  34. ; here, option to exit program is also offered.  the term 'dir'ectory
  35. ; refers to 'drive/user area'.
  36.  
  37. ; command functions of 'disk7' are:
  38.  
  39. ;     c - copy file to another drive/user with automatic 'crc' verifi-
  40. ;      cation.  format is --> new 'dir'ectory: 'd[nn]<return>' where
  41. ;      'd' is drive and 'n' is optional user area.  a 'colon' after
  42. ;      the drive or user area is optional.  d, d:, dn, dn:, dnn, dnn:
  43. ;      are all valid entries.  (system reset occurs for disk change.)
  44. ;      prompts to erase already existing file on destination drive or
  45. ;      in another user area.
  46. ;     d - delete file from disk, prompts for certainty.
  47. ;     g - go to a filename.  prompts for name, wildcards permitted such
  48. ;      as (fn.*).
  49. ;     j - jump 'forward' 22 file names.  used to quickly scan through
  50. ;      lengthy disk directories.
  51. ;     l - file length (size) in kilobytes, rounded up to next disk
  52. ;      allocation block.
  53. ;     n - new 'dir'ectory, login new drive/user for display and reset
  54. ;      system for disk changes.  format is same as 'c' for copy.
  55. ;     m - mass copy of tagged files to another drive/user area.  auto-
  56. ;      erase occurs if file(s) already exist(s).  prompts for desired
  57. ;      drive/user area as with 'c' and 'n'.  mass copy function can
  58. ;      be repeated without re-tagging files.  simply enter 'm' again
  59. ;      to copy previously tagged files to another drive/user area.
  60. ;      (entering 'm' without any files tagged causes cursor to move
  61. ;      to directory beginning.)
  62. ;     p - print text file to cp/m list device (printer), <ctrl-c> or
  63. ;      <esc> cancels.  full pagination provided.  filename printed at
  64. ;      top of each page, blank lines inserted at page boundaries.
  65. ;     r - rename file on current disk, only cp/m convention names
  66. ;      permitted.
  67. ;     s - stat of disk, storage remaining on requested drive in
  68. ;      kilobytes.
  69. ;     t - tag file for inclusion for mass copy to another drive/user
  70. ;      area.  file remains tagged until either a disk login or 'u' is
  71. ;      used to untag it.  a '*' marker is placed on tagged filename
  72. ;      cursor line as a reminder file is tagged for mass copy.  tag-
  73. ;      ged file size is shown, totals accumulated and presented in
  74. ;      parentheses.
  75. ;     u - untag file previously tagged for mass copy.  'u' can be used
  76. ;      to move cursor 'forward' for quick untagging of files.  log-
  77. ;      ging-in drive again with 'l' also quickly untags all files.
  78. ;     v - view text file on console, with pagination and single-line
  79. ;      turn-up.  <crtl-c> or <esc> cancels function.  only 'ascii'
  80. ;      characters processed.  single-line menu shown top of first
  81. ;      page.
  82. ;     x - exit to cp/m (to ccp without rebooting, or optionally warmboot
  83. ;      if program assembled with 'warmboot' equate set true.)  <esc>
  84. ;      also exits to cp/m.
  85.  
  86. ; 'disk7' is an alternative to 'pip' and 'sweep'.  conveniently, it can
  87. ; be added as a subroutine to application programs that require file
  88. ; manipulation but without returning to the cp/m operating system.
  89. ; 'disk7' loads fast and copies files at near theoretical speed using
  90. ; an 8-bit 'crc' table-driven ccitt recommended routine.  a compact menu
  91. ; makes operation essentially self-documenting.  disk7.com occupies a
  92. ; few bytes less than 4k for z80 assembly, a few over for 8080.
  93.  
  94. ; installation requires setting maximum allowed drive (maxdr) to be
  95. ; logged-in or copied to, z80 or 8080 CPU, and deciding to warmboot or
  96. ; not on returning to cp/m.  these equate options plus several others
  97. ; begin at program 'starting definitions' below.  assemble using dri
  98. ; 'mac.com'.
  99.  
  100. ; disk7 works with cp/m 2.2 (and above) with 24k or more of ram.  file
  101. ; copy functions are faster with larger amounts of ram.
  102.  
  103. ; please report bugs noted or improvements incorporated to frank gaude'
  104. ; at 10925 stonebrook drive, los altos hills, ca 94022.  telephone is
  105. ; 415/941-2219, 6pm to 10pm daily, pacific time.
  106.