home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / dirutl / sdd102.lbr / SDD.DQC / SDD.DOC
Encoding:
Text File  |  1985-08-07  |  2.9 KB  |  96 lines

  1. Sigi Kluger, ESKAY Software
  2. Dallas Texas
  3.  
  4.  
  5. Another directory program...
  6.  
  7.  
  8. I have written SDD for the following reasons (not in
  9. order of importance):
  10.  
  11. - small, capable of showing file sizes
  12. - a programming exercise
  13. - an example for ASM beginners... maybe...
  14.  
  15.  
  16. SDD has the following features:
  17.  
  18. - compact, requires less than 2k of disk space
  19. - able to display large directories in small TPA (12 bytes per
  20.   active, matching filename stored)
  21. - optional suppression of size display for quick check
  22. - optional printer output
  23.  
  24. SDD has the following shortcomings:
  25.  
  26. - nowhere near as versatile as SD
  27. - not for use with CP/M 1.x
  28. - slow due to use of BDOS call 35 (compute file size)
  29.  
  30. SDD will be expanded to add the following:
  31.  
  32. - optional disk file output of listing
  33. - disk freespace display
  34. - date/time display for capable OS (CP/M Plus, MP/M, TurboDOS)
  35.  
  36. I may think of a faster way to compute file sizes without
  37. sacrificing RAM.
  38.  
  39.  
  40.     +--------------------------------------------------------------+
  41.     | SDD is in the Public Domain and as author I expressly permit |
  42.     | anyone to use SDD,   whether for profit or not.   The source |
  43.     | code  is provided for reference only at this time and should |
  44.     | not be updated  or  distributed until the above changes have |
  45.     | been made.  If you don't like SDD,  tell me so I don't waste |
  46.     | my time completing it.  Call ESKAY Software at 214-553-1363. |
  47.     +--------------------------------------------------------------+
  48.  
  49.  
  50.  
  51.                     DOCUMENTATION FOR SDD VERSION 1.01:
  52.  
  53.  
  54. The following are sample command lines and their outputs:
  55.  
  56. [20:55 A] 4D}sdd        ;<-- invoked by name defaults to *.*
  57.  
  58. SDD     .ASM  20k  SDD     .COM   2k  SDD     .DOC   2k  SDD     .HEX   6k  
  59.         DRIVE/USER D04: DISPLAYED   4 FILES IN   30k TOTAL
  60.  
  61. [20:55 A] 4D}sdd a31:        ;<-- may specify drive and user
  62.  
  63. BULLETIN.SYS   2k  WARMSTRT.AUT   4k  WELCOME .SYS   2k  
  64.         DRIVE/USER A31: DISPLAYED   3 FILES IN    8k TOTAL
  65.  
  66. [20:55 A] 4D}sdd *.?o?        ;<-- may specify ambiguous fn
  67.  
  68. SDD     .COM   2k  SDD     .DOC   2k  
  69.         DRIVE/USER D04: DISPLAYED   2 FILES IN    4k TOTAL
  70.  
  71. [20:55 A] 4D}sdd *.* $k        ;<-- $K option suppresses file size display
  72.  
  73. SDD     .ASM       SDD     .COM       SDD     .DOC       SDD     .HEX       
  74.  
  75. [20:56 A] 4D}sdd *.* $s        ;<-- $S option displays unsorted
  76.  
  77. SDD     .DOC   2k  SDD     .COM   2k  SDD     .ASM  20k  SDD     .HEX   6k  
  78.         DRIVE/USER D04: DISPLAYED   4 FILES IN   30k TOTAL
  79.  
  80. [20:56 A] 4D}sdd *.* $sk    ;<-- options may be mixed
  81.  
  82. SDD     .DOC       SDD     .COM       SDD     .ASM       SDD     .HEX       
  83.  
  84. [20:56 A] 4D}sdd *.* $l        ;<-- $L option directs output to printer
  85.  
  86. [20:56 A] 4D}sdd 0:        ;<-- able to specify just user number
  87.  
  88. No file(s)
  89.  
  90.  
  91. [20:56 A] 4D}
  92.  
  93.  
  94. Note that currently, SDD does not know about $SYS files and displays
  95. all matching files.
  96. ULLETIN.SYS   2k  WARMSTRT.AUT   4k