home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / a / disktest.lbr / DISKTEST.DZC / DISKTEST.DOC
Encoding:
Text File  |  1993-10-26  |  10.6 KB  |  220 lines

  1. Z-80 Floppy Disk Test
  2.  
  3. Original Version: Copyright (c) 1980 by Laboratory Microsystems
  4.                                         4147 Beethoven Street
  5.                                         Los Angeles, California 90066
  6.  
  7.  
  8.  
  9. 1.0  General description
  10.  
  11. The  Z-80 Floppy Disk Test is a general purpose utility for testing or
  12. initializing a diskette.  It requires a Z-80 microprocessor, at  least
  13. 16  kbytes  of random access memory, two flexible disk drives, and the
  14. Digital Research CP/M 2.x operating system.  Program mode and area  of
  15. diskette to be tested are controlled from the keyboard.  Errors may be
  16. audited on the console or the line printer.  
  17.  
  18. The proram is available on this diskette in 4 versions.
  19.  
  20. 2DISKTST.COM        Is assembled for the Kaypro 2 (191 K / disk)
  21. 4DISKTST.COM        Is assembled for the Kaypro 4 (390 K / disk)
  22. 8DISKTST.COM        Is assembled for Kaypro's with 96 TPI dbl. sided
  23.             disk drives ( Like the Pro 8 System from Micro
  24.             Cornucopia ).
  25. 10DSKTST.COM        Is assembled for the Kaypro 10 and will only test
  26.             the floppy drive on that system. DO NOT use the
  27.             disk diagnostic on the HARD DISK !!!!!!!!!!!!!!!!  
  28.  
  29. The program does not exhaustively check out the disk  drive,  and  any
  30. errors  detected  by  the  program  must  be  interpreted  with  care.
  31. Intermittent  errors  occurring  throughout  a  broad  range  of  disk
  32. addresses  probably  indicate  a  problem  with  the  disk drive unit.
  33. Errors indicated at consistent addresses within  adjacent  tracks  may
  34. result  from a worn or damaged flexible disk.  Error free execution of
  35. the test certainly indicates an intact and usable diskette,  and  also
  36. is  fairly good evidence of proper operation of your disk drive.  Note
  37. that the program is rather insensitive to drive  problems  related  to
  38. head  movement, since the diskette is addressed in a smooth sequential
  39. manner.
  40.  
  41.  
  42. 2.0  Installation
  43.  
  44. Mount  your system disk in drive A, and the distribution disk in drive
  45. B.  Use the PIP utility to transfer the test program onto  the  system
  46. disk:
  47.  
  48.         A>pip a:=b:dtst.com [v]
  49.  
  50. Now  remove  the  distribution  disk  from drive B and store it as the
  51. backup copy.
  52.  
  53.  
  54. 3.0  Using the Test Program
  55.  
  56. Put your system disk in drive A, boot up the CP/M operating system, and
  57. type:
  58.  
  59.         A>dtst
  60.  
  61. The test program will load  into  memory  and  print  the  identifying
  62. message:
  63.  
  64.         Laboratory Microsystems Disk Test version 1.0
  65.  
  66. If there is inadequate memory in the transient program area, or if the
  67. operating  system is not CP/M version 2.0 or greater, the program will
  68. immediately print a warning message and  exit.   Otherwise,  the  test
  69. proceeds  to  the initialization dialogue.  The test mode is set via a
  70. series of questions presented on the system console.  Answers  calling
  71. for  an  alphabetic  character  may be upper or lower case; a carriage
  72. return is not required.  Answers calling for  a  number  must  be  two
  73. digits, or one digit followed by a carriage return.
  74.  
  75. query                   responses       explanation
  76. -----                   ---------       -----------
  77.  
  78. Itemize errors?         Y or N          If   answered  y,  each  error
  79.                                         detected  is  audited  on  the
  80.                                         selected  device.  If answered
  81.                                         N, only the total error  count
  82.                                         is  printed at the end of each
  83.                                         pass.
  84.  
  85. Console or Printer?     C or P          If  itemizing  errors,  select
  86.                                         the   device   on   which  the
  87.                                         itemized error listing will be
  88.                                         printed.
  89.  
  90. Lock on read or write?  N, R, or W      N = no locks.   R  =  lock  on
  91.                                         read  mode (no data is written
  92.                                         to the  disk  ---  useful  for
  93.                                         detecting any damaged areas on
  94.                                         the media).  W = lock on write
  95.                                         (all   data  on  the  disk  is
  96.                                         destroyed --- this may be used
  97.                                         to erase a  diskette  by  also
  98.                                         locking on pattern)
  99.  
  100. Restore original data?  Y or N          Y  =  restore existing data on
  101.                                         diskette  after  testing  each
  102.                                         sector.   N  =  do not restore
  103.                                         existing data.  Test runs much
  104.                                         faster when  restore  mode  is
  105.                                         not used.
  106.  
  107. Lock on data pattern?   Y or N          Y  =  user  wishes  to specify
  108.                                         specific data to  be  used  as
  109.                                         the  test pattern.  N = random
  110.                                         data pattern is  generated  by
  111.                                         the test program.
  112.  
  113. Enter data pattern      hex 00-FF       If  you  answered Y to Lock On
  114.                                         Pattern, enter the  eight  bit
  115.                                         data pattern to be used during
  116.                                         disk testing.  If you answered
  117.                                         N, this question is bypassed.
  118.  
  119. Drive to be tested                      Specify  disk drive to be used
  120.                                         for  diskette   testing.
  121.  
  122. Test all tracks?        Y or N          Y = test all tracks (00-76) in
  123.                                         sequence.  N = user wishes  to
  124.                                         specify  range  of tracks (may
  125.                                         be used to test only part of a
  126.                                         diskette, or if disk drive  is
  127.                                         other  than  Kaypro Format.
  128.  
  129. First track to test     decimal 00-999  If you answered N to Test  All
  130.                                         Tracks,   specify   here   the
  131.                                         number of the first  track  to
  132.                                         test.
  133.  
  134. Last track to test      decimal 00-999  If  you answered N to Test All
  135.                                         Tracks,   specify   here   the
  136.                                         number  of  the  last track to
  137.                                         test.  Must  be  the  same  or
  138.                                         greater than the number of the
  139.                                         first track to test.
  140.  
  141. Test all sectors?       Y or N          Y = test all sectors (0-39) in
  142.                                         sequence.   N = user wishes to
  143.                                         specify range of sectors  (may
  144.                                         be  used  to test only part of
  145.                                         each track, or if  disk  drive
  146.                                         is  other than Kaypro format.
  147.  
  148. First sector to test    decimal 0-39    If you answered N to Test  All
  149.                                         Sectors,   specify   here  the
  150.                                         number of the first sector  to
  151.                                         test on each track.
  152.  
  153. Last sector to test     decimal 0-39    If  you answered N to Test All
  154.                                         Sectors,  specify   here   the
  155.                                         number  of  the last sector to
  156.                                         test on each track.   Must  be
  157.                                         the  same  or greater than the
  158.                                         number of the first sector  to
  159.                                         test.
  160.  
  161. How many test passes?   decimal 01-99   Enter   the   number  of  test
  162.                                         passes  to  be  made  on   the
  163.                                         diskette.   At  least one pass
  164.                                         is always  made  even  if  you
  165.                                         enter zero.
  166.  
  167. After entry of the number of  test  passes,  the  program  immediately
  168. begins  executing.  The program may be interrupted by pushing any key,
  169. however response may be delayed for several seconds depending  on  the
  170. speed  of  the  processor  and  disk  drive.   Do not stop the test by
  171. resetting the computer system  if  you  are  using  restore  mode,  or
  172. unpredictable amounts of data may be lost.
  173.  
  174.  
  175. 4.0  Error Listing
  176.  
  177. Errors  detected  by the program may be itemized on the system console
  178. or the line printer.  The pass, drive name, track,  and  sector  where
  179. the error occurred are listed.  All numbers are in decimal.  The error
  180. type is designated at the right.  In the explanations below, "hardware
  181. error" signifies an error status code returned from the low level disk
  182. driver, and usually means a CRC fault or seek incomplete.
  183.  
  184.  
  185. error type                      explanation
  186. ----------                      -----------
  187.  
  188. read error - original data      If  running  in restore mode, hardware
  189.                                 read error noted as the original  data
  190.                                 was being loaded into memory.
  191.  
  192. write error - test data         Hardware  error noted as the test data
  193.                                 pattern  was  being  written  on   the
  194.                                 diskette.
  195.  
  196. read error - test data          Hardware  error noted as the test data
  197.                                 pattern was being read back  from  the
  198.                                 diskette.
  199.  
  200. compare error - test data       Difference  was found between the data
  201.                                 pattern  that  was  written   to   the
  202.                                 diskette  and  the  data that was read
  203.                                 back.
  204.  
  205. write error - restore phase     Hardware error noted as  the  original
  206.                                 data  was  being  written  back to the
  207.                                 diskette.
  208.  
  209. read error - restore phase      Hardware error noted as  the  restored
  210.                                 original  data was being read back for
  211.                                 verification.
  212.  
  213. data cannot be restored         Compare  error   found   between   the
  214.                                 original   data   rewritten   to   the
  215.                                 diskette and  the  same  sectors  read
  216.                                 back for verification.
  217.  
  218.  
  219.  
  220.