
README.TXT for DTC2130
======================

Install the NT operating system using the built in IDE driver. The
installation procedure will detect the IDE card and use the built in driver.

After the installation is complete:

  1) cd c:\winnt\system32\drivers

  2) Rename the existing IDE driver "ATDISK.SYS" to "ATDISK.ORG"

  3) Insert the floppy disk provided by DTC in drive A:

  4) copy A:ATDISK.SYS C:\WINNT\SYSTEM32\DRIVERS

  5) Reboot the system by shuting down and restarting.



Software switches or parameters
===============================

Microsoft Windows has a registration database called Registry. It replaces
initialization and configuration files such as CONFIG.SYS and WIN.INI.

Data in the Registry is structured as a hierarchical tree of "keys" and
"values", where each key can contain subkeys and values.

Drivers use the registry to get parameters, and users can enter or modify
or examine parameters by selecting the COMMAMD PROMPT and invoking the
"REGEDT32.EXE" tool.

The parameters for the DTC2130 driver will be put under
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Atdisk\Parameters

To do this we first need to create the subkey "Parameters":

  1) In HKEY_LOCAL_MACHINE screen traverse down to
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Atdisk by
      selecting SYSTEM
      then CurrentControlSet under SYSTEM
      then Services under CurrentControlSet
      then Atdisk

  2) Select EDIT from the Registry menu.

  3) Select "Add Key..." and the ADD KEY window will appear.

  4) Type "Parameters" for Key Name and press OK.

  5) Now select the newly created "Parameters" under "Atdisk".

  6) Select "Edit" from the Registry menu again.

  7) Select "Add Value..." and the ADD VALUE window will appear.

  8) Type in Value Name in the data field such as "C0-D1-PioMode".

  9) For the Data type field select REG_DWORD and press OK, and a DWORD EDITOR
     window will appear.

  10) Type in data and select OK.

  11) Select "Registry" from the registry menu and "Exit".




  The naming convention used by the DTC2130 drivers as follows:

     Cx-Dy-parametername    ( for parameters that are drive specific)
OR
     Cx-parametername       ( for parameters that are controller specific)

       where x is the controller number (0 or 1)
         and y is the drive number under that controller (0 or 1)

  Example:

       Value Name               Data type       Data value
     C0-D0-MultiSector          REG_DWORD       8


   The full list of possible parameters and accpetable values are:

   1) Cx-Dx-MultiSector         0, 1, 2, 4, 8, 16, 32, .....

   2) Cx-Dx-LBA_On              0 = Logical Block addressing OFF
                                1 = Logical Block addressing ON

   3) Cx-Dy-ReadAheadDisable    0 = Do NOT disable read ahead
                                1 = Disable read ahead

   4) Cx-Dy-PioMode             0 = mode 0
                                1 = mode 1
                                2 = mode 2
                                3 = mode 3


   5) Cx-Dy-32Bit_On            0 = 16 bit mode
                                1 = 32 bit mode

   6) C1_On                     0 = Bypass secondary controller
                                1 = Control secondary controller if it exists
Defaults:
=========

When no parameters are keyed in the Registry the driver uses the following
for default:

   1) 8 sectors per block for multisector setting.
   2) Logical Block addressing On.
   3) Read ahead not disable (leave it enabled).
   4) Fastest PIO mode the drive can handle (with IOCHRDY).
   5) 32 bit transfer.
   6) Control secondary controller if it exists.


