home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / HARDWARE / WDCSET2.ZIP / WDCSET2 < prev   
Encoding:
Text File  |  1986-11-01  |  7.6 KB  |  146 lines

  1.                      Western Digital Corporation
  2.                              WD1002S-WX2
  3.               using rom's ending in "43-010" or "42-013"
  4.  
  5.     Information compiled by Paul Tiger, Tiger Engineering, 303-
  6. 444-9276 (voice and data), P.O. Box 4926, Boulder, CO 80306
  7.  
  8.     Additional information added by Steve Welch, 30 Oct 1986.
  9.  
  10.  
  11.                            INTRODUCTION
  12.  
  13.     Western Digital Corporation currently (Oct 1986) ships several 
  14. different kinds of hard disk controller cards.  The most popular 
  15. one at this time from the discount sources is the WD1002S-WX2 card,
  16. which is a half-card XT-type controller.  There is a new version of
  17. this card using surface-mount chip technology (little tiny chips that
  18. look a bit like ants and don't have leads that go through the board).
  19. The part number for this board WD1002A-WX1, it is equivalent to the
  20. WD1002S-WX2 in all respects (except there are no jumpers called W1 
  21. or W2).  There is also a new RLL controller that uses surface mount
  22. technology, but I'm not sure what the part number is for it.
  23.     There are two common BIOS ROMs that are being shipped with these
  24. boards -- WD calls them the Standard BIOS ROM (P/N 62-00042-xxx) and 
  25. the Auto-Config BIOS ROM (P/N 62-00043-xxx).  If you have a Standard
  26. BIOS ROM, you must set the controller to match the type of drive you
  27. are installing in your machine before you do a low-level format.  If 
  28. you don't know what a low-level format is, go get help from someone
  29. who does.  If your drive has been working fine, don't touch it unless 
  30. you really know what you are doing!
  31.  
  32.  
  33.            SETTING THE DRIVE TYPE WITH THE STANDARD BIOS ROM
  34.  
  35.      Place the controller card with the component side face up and the 
  36. IBM retainer angle face to your right. On the far right-handed side 
  37. there is a set of jumpers labeled "SW1" at the bottom of this stack. 
  38. The following should give instructions to configure this controller to 
  39. several different types of fixed disk drives.
  40.  
  41.      The only settings on jumper bank "SW1" that should be changed are 
  42. 1 through 4. No others should be moved or touched.
  43.  
  44.      Jumpers numbers 1 and 2 are for designating fixed disk drives for 
  45. drive D:. 
  46.      
  47.      Jumpers numbers 3 and 4 are for designating fixed disk drives for 
  48. drive C:.
  49.  
  50.      An absence of jumpers at locations 1 and 2 indicate that there is 
  51. a 4 head, 306 cylinder, 10 Megabyte fixed disk drive, with precompensation
  52. on all tracks as drive D:. An absence of jumpers at locations 3 and 4 
  53. indicate that there is a 10 Megabyte fixed disk drive with these 
  54. characteristics as drive C:. 
  55.  
  56.      A presence of jumpers at locations 1 and 2 indicate that there is 
  57. a 4 head, 612 cylinder, 20 Megabyte fixed disk drive as drive D:, without
  58. precompensation.  An absence of jumpers at locations 3 and 4 indicate 
  59. that there is a 20 Megabyte fixed disk drive of these characteristics 
  60. as drive C:. 
  61.  
  62.      A presence of a jumper at location 1 only indicates that there is 
  63. a 4 head, 612 cylinder, 20 Megabyte fixed disk drive as drive D:, with 
  64. precompensation starting at cyl 128.  A presence of a jumper at location
  65. 3 only indicates that there is a 20 Megabyte fixed disk drive of these
  66. characteristics as drive C:.
  67.  
  68.      A presence of a jumper at location 2 only indicates that there is 
  69. a 2 head, 612 cylinder, 10 Megabyte fixed disk drive as drive D:, with 
  70. precompensation starting at cyl 128.  A presence of a jumper at location
  71. 4 only indicates that there is a 10 Megabyte fixed disk drive of these
  72. characteristics as drive C:.
  73.  
  74.      After setting the drive type and installing the disk drive and
  75. controller in your machine, you will have to run a program to put a low- 
  76. level format on your drive.  Note that some vendors (even some of the
  77. discount houses) pre-format the drive for your use -- I would check first
  78. to see if the drive is ready to go.  To check if there is a low-level
  79. format already on your drive, boot your machine from floppy, and try to 
  80. do a dir of c: -- if it seems to work, you're home free.  If not, try running
  81. the FDISK utility (for Zenith computers, the equivalent utility is called
  82. PART).  If this utility seems to work, do a high-level format of the drive 
  83. and run CHKDSK to see if everything seems alright.
  84.  
  85.     With the Standard BIOS ROM, putting a low-level format on the drive
  86. is pretty easy.  Boot your machine with a floppy (there may be an extra
  87. delay caused by the WD controller), and run DEBUG.  In the BIOS ROM is a
  88. low-level format routine at location C800:5.  To run it, type:
  89. g=c800:5 <Carriage Return>, and follow the prompts.  The  actual formatting
  90. takes several minutes.  The default interleave is 3, which is best for most
  91. drives and this controller.  To alter the interleave, you must put the
  92. desired interleave in register AL before the g=c800:5.
  93.  
  94.     Incidentally, although Western Digital says that this type of 
  95. eight bit controller cannot be used in either a 'AT' type CPU or a CPU 
  96. running a 8 mHz, it can! One must be able to perform the low level 
  97. format at the 4.77, 5, or 6 mHz clock rate, and then partitioning, 
  98. high level formating and use at the 8 mHz clock rate is then possible.
  99.  
  100.     If you are a very clever person, and have access to a PROM burner, 
  101. you can blow your own custom ROM for drives not meeting the above
  102. characteristics.  However, this is a real hassle, and there is another
  103. solution available -- the Auto-Config BIOS ROM.  WD will probably send
  104. you one for a price, and many vendors have them in stock.
  105.  
  106.  
  107.  
  108.  
  109.          SETTING THE DRIVE TYPE WITH THE AUTO-CONFIG BIOS ROM
  110.  
  111.  
  112.     WARNING: THIS PROCEEDURE DOES A LOW-LEVEL FORMAT OF YOUR DRIVE!!!!
  113. THERE IS -NO- WAY TO RECOVER DATA OFF A DRIVE (outside of the NSA,that
  114. is) AFTER THIS PROCEEDURE HAS BEEN PERFORMED!  So I suggest you check to see
  115. if your drive is already formatted (see last section) before you do this.
  116.  
  117.     The Auto-Config BIOS ROM has a built in ability to format any type of
  118. drive.  You must know the following characteristics of you drive before 
  119. you begin:  number of cylinders, number of heads, starting cylinder for
  120. reduced write current (if used, it's not very common anymore), and finally,
  121. the starting cylinder for write precompensation.  
  122.  
  123.     To do a low level format and set the configuration of the drive, boot
  124. your machine from floppy (there will be a long pause while the BIOS ROM 
  125. looks around for a disk drive), and run DEBUG.  Type g=c800:5 <Carriage Ret>,
  126. and follow the prompts.  In all cases where you are asked for multiple
  127. values, separate the numbers by spaces.  If you can't find out whether 
  128. your drive uses reduced write current, assume it doesn't and put one greater
  129. than the total number of cylinders on your drive in this field.  All
  130. values are input in decimal.  You will be asked for the above information
  131. about your drive, and also about two additional numbers.  Unless you know
  132. different, the "maximum correctable error burst length" should be 11, and
  133. the "CCB option byte" should be 5 (AT-type drives will work faster with a
  134. value of 6 in this field, I think).  
  135.  
  136.     One final note -- if your drive has more than 8 heads, the jumper at 
  137. position W6 must be moved from the factory position of 2-3.  Locate the W6
  138. jumper (three short pins with a little plastic jumper on two of them), and
  139. move the plastic jumper from connecting pins 2 and 3 to connecting pins 1
  140. and 2.  The factory standard jumpering (in case someone has been mucking
  141. with your board) is as follows:  W1 1-2; W2 1-2; W3 present; W4 2-3; W5 
  142. missing (connected on PC board as 1-2; W6 2-3; W7 missing (connected on PC
  143. board as 1-2). k drive with these 
  144. characteristics as drive C:. 
  145.  
  146.      A presence of jumpers at locations 1 and 2 indicat