home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0210 - 0219 / ibm0210-0219 / ibm0213.tar / ibm0213 / DP120-SL.ZIP / ADDADRV.DOC next >
Encoding:
Text File  |  1993-05-27  |  20.0 KB  |  424 lines

  1. Add-A-Drive v2.0  Released December 1992
  2.  
  3. ╒══════╡  Add-A-Drive v2.0  │
  4. │                                  ┌──────────────────┐  ┌──────────────────┐
  5. │ Micro House International, Inc.  │      42  MB      │  │░░░░░0   MB░░░░░░░│
  6. │        Boulder, Colorado         │  ≡■≡≡≡≡≡≡≡≡≡≡≡≡  │  │░░░░░░░░░░░░░░░░░░│
  7. │   From the makers of DrivePro    └──────────────────┘  └──────────────────┘
  8. │ - Professional Hard Drive Setup   E:     Installed      4_Drives v2.0 only
  9. ├────────────────────────────────────────────────────────────────────────────┐
  10. │      Copyright 1992 by Dustbowl Designs, Inc. All rights reserved.         │
  11. │  DrivePro Package version.  This program is not shareware or freeware.     │
  12. │           Unauthorized redistribution is strictly prohibited.              │
  13. └────────────────────────────────────────────────────────────────────────────┘
  14.  
  15. =====Introduction=============================
  16. Add-A-Drive is a CONFIG.SYS block device driver that allows the
  17. utilization of a single hard disk drive on the standard Secondary Port
  18. Address using the DOS operating system.  This permits two incompatible
  19. controllers and/or host adapters to coexist in the same system.
  20.  
  21.         *  With Add-A-Drive you can combine MFM, RLL, ESDI and SCSI
  22.            hard disk drives with the new low-cost AT/IDE interface
  23.            drives.
  24.  
  25.         *  This means you DO NOT have to retire your older MFM drives
  26.            if you purchase a new AT/IDE hard disk drive!!!
  27.  
  28.  
  29. =====System Requirements======================
  30. A few simple conditions must be met in order to utilize the
  31. Add-A-Drive device driver.
  32.  
  33. They are:
  34.         1. System must be 286 CPU or higher.
  35.         2. DOS level must be v3.0 or higher.
  36.         3. A second Controller or Host Adapter which must have the
  37.            option to set a Secondary Port Address to 170h and to
  38.            disable IRQ14 monitoring. (Seagate ST-07A and ST-08A AT/IDE
  39.            Host Adapters can do this.)
  40.  
  41.  
  42. =====Preparing "Secondary Port" Disk Drives====
  43. The disk drive that will be attached to the Secondary Port Address
  44. needs to be partitioned and formatted on the Primary Port Address
  45. prior to using the Add-A-Drive device driver.  Use DrivePro to
  46. accomplish this task.  This will probably require temporarily removing
  47. the existing hard disk drive controller or preparing the "Secondary"
  48. drive in a different system.
  49.  
  50. BEFORE disengaging the "Primary" drives, BE SURE to write down the
  51. CMOS drive type(s). If 'User Defined' or 'Custom' drive types are
  52. being used, write down the associated cylinder, head, write precomp,
  53. lzone and sector per track values.
  54.  
  55. The installation steps to take for an unprepared drive without data
  56. are roughly as follows:
  57.  
  58.      1.  Finish reading the rest of this document.
  59.  
  60.      2.  Satisfy yourself that BACKUPs of your data are current and in
  61.          good condition.
  62.  
  63.      3.  Install (on the default Primary Address) the drive you
  64.          eventually intend to use on the Secondary and set the
  65.          appropriate drive type number in the system CMOS setup.
  66.  
  67.      4.  Boot to the floppy diskette.
  68.  
  69.      5.  Use DrivePro to setup the hard drive.
  70.  
  71.      6.  Confirm that the hard drive boots without the floppy in A:
  72.          and can perform reads and writes, and is good working
  73.          condition.
  74.  
  75.      7.  Restore the CMOS drive types to the ones used on the original
  76.          1st (and 2nd) drives. Power down the system and reinstate the
  77.          controller for the original drives.
  78.  
  79.      8.  Set the second Host Adapter for the "Secondary" drive to
  80.          Secondary Port Address 170h and disable IRQ14 monitoring.
  81.          (see below for Seagate ST-07A/ST-08A Host Adapter jumper
  82.          settings).
  83.  
  84.      9.  Reboot. The system should start in the same way it always
  85.          has.
  86.  
  87.     10.  Copy the ADDADRV.HDD program into the root directory of the
  88.          C: drive and Edit the CONFIG.SYS file to include the line:
  89.  
  90.                DEVICE=C:\ADDADRV.HDD
  91.  
  92.          This line should precede any other block device drivers (such
  93.          a RAMDRIVE.SYS). If a Disk Manager (tm Ontrack Computer
  94.          Systems) partition is installed on the original "Primary"
  95.          drives, the DEVICE=C:\ADDADRV.HDD line should follow after
  96.          DMDRVR.BIN.
  97.  
  98.     11.  Reboot. An Add-A-Drive installation screen (shown above) will
  99.          indicate the loading status of the device driver. The drive
  100.          letters assigned to the "Secondary" drive(s) will depend on
  101.          the number of partitions on your C: and D: drives.
  102.  
  103.  
  104. =====Background===============================
  105. In the past, three major factors have stood in the way of achieving
  106. the elusive goal of supporting more than two hard disk drives or even
  107. two disk drives of dissimilar interfaces.  First, DOS versions prior
  108. to the v5.0 would support a maximum of two physical hard disk drives.
  109. The v5.0 DOS FDISK supports up to eight physical hard disk drives if
  110. the Host Adapter is designed to follow the FDISK conventions of DOS
  111. v5.0. (Some SCSI interface Host Adapters are now out in the
  112. marketplace which have this support.)
  113.  
  114. Second, standard interface hard disk drive controllers (except for
  115. SCSI) are limited to two physical drives.  In the case of MFM, RLL and
  116. ESDI, the drives usually have a Drive Select 3 and 4 jumper (DS3 &
  117. DS4), but the controllers for these interfaces use the industry
  118. standard "Daisychain" configuration which allows only two drives to be
  119. connected. (The rare "Radial" configuration uses the DS3 and DS4.) In
  120. the case of the new AT interface for hard disk drives, also known as
  121. IDE, the controller is built onto the drive itself and is limited by
  122. design to two physical drives per Host Adapter - Master and Slave.
  123.  
  124. Third, controllers for these interfaces usually require a drive type
  125. number to be set in CMOS and only two slots are ever given by the
  126. system BIOS.
  127.  
  128. Until Add-A-Drive, two AT controllers have generally been unable to
  129. coexist because of a condition known as a "port address conflict."  In
  130. effect, both controllers canceled each other out because they needed
  131. to use the same Hard Drive Primary Port Address, 1F0h.  In its default
  132. configuration, DOS only recognizes hard disk drives that are attached
  133. to this Primary Port Address and communicates with them through the
  134. system bios and INT13.  A block device driver is required to service
  135. drives that are attached to the common Secondary Port Address, 170h;
  136. the Add-A-Drive device driver serves this function.
  137.  
  138.  
  139. =====Outline==================================
  140. An brief outline of how Add-A-Drive works is as follows:
  141.  
  142. After partitioning and formatting in the DOS environment, every hard
  143. disk drive, regardless of interface, controller, or CPU has a very
  144. special sector of information called the Master Boot Record (MBR). The
  145. MBR is always the very first physical sector on the disk (cyl 0, hd 0,
  146. sector 1), the contents of which 1) preserve the defined partition
  147. structure, 2) contain the first executable instruction to begin
  148. loading the active operating system, and 3) a final word signature in
  149. the sector, AA55h, indicating a valid Master Boot Record.
  150.  
  151. Once a valid MBR is identified, the values stored in the partition
  152. record of the MBR indicate the location of the DOS Boot Record (DBR)
  153. which is generally located at logical cyl 0, hd 1, sector 1.  This DOS
  154. boot sector contains two vital components - the BIOS Parameter Block
  155. (BPB) structure and a loader routine for the operating system .  The
  156. BPB provides a logical description of the hard disk drive's geometry
  157. (logical blocks, heads, sectors per track, bytes per sector, etc.),
  158. while the operating system loader establishes the names of the system
  159. files IO.SYS and MSDOS.SYS, their root directory locations and then
  160. loads them into memory .
  161.  
  162. Next, the IO.SYS file is read into memory, followed by the MSDOS.SYS.
  163. These are the names of the two hidden files which accompany
  164. COMMAND.COM after formatting a bootable drive. These programs begin an
  165. initialization routine which establishes the resident character and
  166. block devices found during the Power-On Self Test (POST) and
  167. motherboard ROM BIOS initialization.  Once the basic hardware has been
  168. identified and the DOS kernel has been positioned into low memory, the
  169. next stage is to run a system module within IO.SYS called SYSINIT.  It
  170. is at this time that the first of the Primary Port Address drive
  171. letter designations are assigned (A:, B:, C:, etc.). These block
  172. devices are given special handling at this point.  For each, a pointer
  173. to a BPB array is established in memory.
  174.  
  175. Next, begins the process we are most interested in, namely the
  176. processing of the CONFIG.SYS file.  The entire file is read into
  177. memory and analyzed for block and character type device drivers.  When
  178. block device drivers are identified, like Add-A-Drive, their entries
  179. are added to the drive translation table and given the next available
  180. drive letter designation.
  181.  
  182. Device drivers, like regular programs (but not quite like regular
  183. programs), have initialization code and resident code.  The
  184. initialization code in Add-A-Drive is the display banner and secondary
  185. drive identification, while the resident portion is a collection of
  186. routines handling very specific AT register set commands. The AT
  187. register commands "talk" directly to the Secondary Port Address, 170h,
  188. and therefore to the drive itself, and cover drive specific operations
  189. like Read, Write, Recal, and Reset. It should be noted that the Format
  190. command operation is not supported by Add-A-Drive, which is the reason
  191. why the drive must be partitioned and prepared in a normal C:/D:
  192. environment.
  193.  
  194. After all components of the CONFIG.SYS file are processed, SYSINIT's
  195. final function is to load and execute the MS-DOS shell program,
  196. COMMAND.COM.  How DOS manipulates the resident (critical error
  197. handling, for example) and transient portions (batch file processes,
  198. COPY, and RENAME, etc.) of the shell are beyond the scope of this
  199. overview.
  200.  
  201. Thereafter, during the normal course of operation of the computer
  202. system, DOS commands which are directed towards the drive letter(s)
  203. assigned to the Add-A-Drive block device(s) are executed through the
  204. memory resident portion of Add-A-Drive.
  205.  
  206. Add-A-Drive will occupy a minimum of 2,720 bytes of memory under DOS
  207. 5.0. The amount of memory required for the device driver will climb
  208. slightly (≈48 bytes) depending on the number of logical drives in
  209. extended partitions, if any.
  210.  
  211.  
  212. =====Error Messages===========================
  213. The device driver may display a small assortment of error messages
  214. during the loading process of the CONFIG.SYS file. These usually
  215. relate to unformatted status, jumper, cabling and power issues.
  216.  
  217. If the device driver is activated in the CONFIG.SYS when there is no
  218. controller or host adapter set to the secondary port address, the
  219. system may "hang" while trying to boot.  Since the problem is part of
  220. the CONFIG.SYS file, you will need to boot to the A: drive first, in
  221. order to correct the C:\CONFIG.SYS file.
  222.  
  223.  
  224. =====App Notes================================
  225.  
  226. Some Application Notes:
  227.  
  228.      1. The effect of the program on the performance of the system is
  229.         negligible.
  230.  
  231.      2. The use of Add-A-Drive on XT's is DISALLOWED, since it relies
  232.         exclusively on AT register set commands which are only
  233.         available on 286's or higher.
  234.  
  235.      3. If power supply leads are in short supply, a simple "Y"
  236.         adapter that splits two leads off of a single, are available
  237.         at most computer supply stores.
  238.  
  239.      4. If both controllers have support for floppy drives, disable
  240.         the floppy support on the second.
  241.  
  242.      5. Add-A-Drive can be moved into upper memory under DOS 5 with
  243.         DEVICEHIGH=C:\your...path\ADDADRV.HDD
  244.  
  245.      6. Add-A-Drive shows all signs of complete stability with
  246.         Microsoft Windows (tm).  In fact, our entire Windows
  247.         subdirectory structure is located on the "Secondary" drive!
  248.         We have thrown in everything we can think of to test Windows
  249.         compatibility, and all tests have proven successful. If you
  250.         intend to use the drive supported by the Add-A-Drive for the
  251.         Swap File, then in must be of the Temporary Swap File Type. (A
  252.         Permanent Swap File requires Int13 support.)
  253.  
  254.      7. We've run three of the most popular file defragmenters without
  255.         problems.  In any case, ALWAYS follow the software
  256.         manufacturer's instructions and BACKUP you data first.
  257.  
  258.      8. DOS 2.x and above will run with the same partition and
  259.         capacity limits allowed by that version of DOS, however only
  260.         DOS 3.0 and above will show the proper drive letters on the
  261.         Add-A-Drive initialization screen.
  262.  
  263.      9. 10 partitions per physical drive are allowed under Add-A-Drive
  264.         support.
  265.  
  266.     10. It is possible to install a single MFM or RLL drive on the
  267.         secondary port address and utilize Add-A-Drive.  This process,
  268.         however, is not as straight forward as putting the AT/IDE on
  269.         the secondary because typical ST412 interface controllers (MFM
  270.         and RLL) usually do not have the built-in ability to disable
  271.         the IRQ14.  If no jumper on the MFM controller exists to
  272.         disable IRQ14, then the line can usually be disabled manually
  273.         where it plugs into the motherboard.  On a 16-bit controller,
  274.         the IRQ14 line is found on the back side card edge, on the
  275.         "short" 16-bit extension.  It is the 7th contact from the left
  276.         or 12th from the right (D7).  Usually, placing a piece of simple
  277.         transparent tape over the contact will cause it to be disabled
  278.         when the card is plugged into the motherboard.  It is
  279.         advisable that you refrain from attempting this configuration
  280.         unless you have prior experience with modifications of this
  281.         sort. See below:
  282.  
  283.       │
  284.    ▐  │ Metal Clamp
  285.    ▐──┼─────┐
  286.    ▐  │  0  │    Perspective: Looking at the backside of the card
  287.    ▐──┼─────┘
  288.    ▐  │            8-bit long slot             16-bit short slot
  289.    ▐  │_____      31 total contacts        ___ 18 total contacts______
  290.    ▐        ▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌   ▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌
  291.    ▐                                                │
  292.    ▐                                                D7 (IRQ14)
  293.                                               count 7 spaces from left or
  294.                                                    12 spaces from right
  295.  
  296.          Note: Many manufacturers only plate the contacts that will be
  297.                needed on the card.  Be sure to count spaces, not
  298.                actual plated contacts.
  299.  
  300.     11. As noted earlier, some programs will not operate through
  301.         Add-A-Drive (i.e. FDISK, FORMAT).  This is because these
  302.         programs bypass DOS and do not update the partition's FAT
  303.         (File Allocation Table).  Other examples of this are usually
  304.         drive diagnostics utilities.  If programs of this sort are
  305.         deemed necessary to run, the drive will need to be reinstated
  306.         on the primary port address in order to be "seen" by the
  307.         program.
  308.  
  309.  
  310. =====Seagate ST-07A and ST-08A================
  311. ===== AT IDE Host Adapters====================
  312. The ST-08A is a combination floppy drive and hard drive host adapter,
  313. while the ST-07A is for hard drives only.  The floppy support on the
  314. ST-08A can be disabled making it functionally equivalent to the
  315. ST-07A.
  316.  
  317.    J2                    ┌─ Drive-on-a-Card Mounting Point
  318.  Diskette                │
  319.  Connector     J3 LED    │      J1 AT Interface
  320.  (ST08A only)  │     ┌───┘      Hard Disc Connector
  321.  │  ┌──────────┼─────┼─────────────┼───────────────────────┐ ▌▀▀▀▀
  322.  │  │   1      1     °             │                    ┌──┼─▌
  323.  │  │   ::     °°°°             ::::::::::::::::::::    └°─┼─▌
  324.  │  │   ::                      1                          │ ▌
  325.  └──┼── ::                           ┌─────────────────────┼─── JP2
  326.     │   ::                           1 JP2                 │ ▌  Disc/Diskette
  327.     │   ::                          °°                     │ ▌  Address
  328.     │   ::         (ST08A only)                            │ ▌  Select
  329.     │   ::  ┌1──── JP4 Diskette Controller Enable          │ ▌
  330.     │       :                                   ┌──────────┼─── JP6 I/O
  331.     │       ≡≡▌≡}── J4 Aux DC Power to          1       ┌──┼─▌  Channel
  332.     │            1┐    Hard Disc                °°      └°─┼─▌  Ready
  333.     │          °°°└───┐                                    │ ▌
  334.     └┐ ▄ ▄ ▄ ▄ ▄ ▄ ▄┌─┼──┐ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄┌────┘ ▌
  335.      └─▀─▀─▀─▀─▀─▀─▀┘ │  └─▀─▀─▀─▀─▀─▀─▀─▀─▀─▀─▀─▀─▀─▀┘      ▌
  336.                       └─ JP5 Disable Interrupt or            ▌
  337.                              Interrupt While Busy IRQ14
  338.  
  339. If set up as the 2nd Host Adapter for use with Add-A-Drive:
  340.  
  341. 1.  Add a jumper to JP2 (Disc/Diskette Address Select) which sets the
  342.     port to the secondary address at 170h.
  343.  
  344. 2.  Remove jumper from JP5 (Interrupt While Busy, IRQ14). The jumper
  345.     can be conveniently stored on a single pin.
  346.  
  347. 3.  If ST-08A, then remove jumper from JP4 (Diskette Controller
  348.     Enable) to disable the Floppy Controller).
  349.  
  350.  
  351. =====Legal Disclaimer=========================
  352.  
  353.                           LICENSE AGREEMENT
  354.  
  355. Add-A-Drive v2.0  Released December 1992
  356.  
  357. Dustbowl Designs, Inc. provides  the accompanying object code software
  358. ("Software")  and nonexclusively  licenses  its  use on  the following
  359. terms and conditions. The Software is copyrighted by Dustbowl Designs,
  360. Inc. with all rights reserved.  YOU ASSUME FULL RESPONSIBILITY FOR THE
  361. SELECTION OF THE  SOFTWARE TO ACHIEVE YOUR INTENDED  PURPOSES, FOR THE
  362. PROPER INSTALLATION  AND USE. Dustbowl Designs,  Inc. DOES NOT WARRANT
  363. THAT THE  SOFTWARE WILL MEET  YOUR REQUIREMENTS, THAT  THE SOFTWARE IS
  364. FIT FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL BE
  365. ERROR FREE. Dustbowl Designs, Inc. EXPRESSLY DISCLAIMS ALL WARRANTIES,
  366. WHETHER  ORAL  OR  WRITTEN,  EXPRESSED  OR  IMPLIED, INCLUDING WITHOUT
  367. LIMITATION WARRANTIES  OF MERCHANTABILITY OR FITNESS  FOR A PARTICULAR
  368. PURPOSE. IN  NO EVENT WILL  Dustbowl Designs, Inc.  BE LIABLE TO  YOU,
  369. YOUR  CUSTOMERS   OR  OTHER  USERS   FOR  ANY  INDIRECT,   INCIDENTAL,
  370. CONSEQUENTIAL,  SPECIAL  OR  EXEMPLARY  DAMAGES  ARISING  OUT OF OR IN
  371. CONNECTION WITH THE USE OR INABILITY TO USE THE SOFTWARE.
  372.  
  373. Add-A-Drive is  a trademark of Dustbowl  Designs, Inc. The Add-A-Drive
  374. software and documentation are Copyright 1992 by Dustbowl Designs with
  375. all rights reserved. The Add-A-Drive software program is not shareware
  376. or freeware and unauthorized redistribution is strictly prohibited.
  377.  
  378. This special Seagate Technology version is Licensed through:
  379.  
  380.                  Micro House International,  Inc.
  381.                  4900 Pearl East Circle, Suite 101
  382.                  Boulder, Colorado  80301
  383.  
  384.              ph: 800-926-8299   Sales (USA and Canada)
  385.                  303-443-3389   Sales (international callers)
  386.                  303-443-3389   Technical Support
  387.                  303-443-9957   BBS
  388.                  303-443-3323   FAX
  389.  
  390. The authors of:
  391.  
  392.                 "The Encyclopedia of Hard Drives"
  393.                 "The Hard Disk Technical Guide"
  394.                 "The Encyclopedia of Main Boards"
  395.  
  396. The makers of:
  397.  
  398.                 "DrivePro - Professional Hard Drive Setup"
  399.                 "EZ-Drive - Quick IDE Installation Software"
  400.  
  401. End of License agreement.
  402.  
  403.  
  404. *****************************************************************
  405.  
  406. Contents of the Add-A-Drive Distribution Set.
  407.  
  408. ADDADRV.HDD    Device driver file
  409. ADDADRV.DOC    Documentation file with installation instructions.
  410.  
  411. *****************************************************************
  412.  
  413.  
  414. =====Upgrade Offer============================
  415. As noted in the screen representation and at the beginning of this
  416. document, Add-A-Drive supports a SINGLE hard disk drive on the
  417. Secondary Port Address.  In the event that you may want to add a
  418. SECOND drive to the Secondary Port Address, we offer the program
  419. 4_Drives.  Information and pricing for 4_Drives can be obtained from
  420. Micro House International.
  421.  
  422.  
  423.