This readme file contains the installation procedures for Tyan's S1342,
S1345, and S1346 controllers. Please read the followings very carefully, and
follow the correct procedures to install the 32bit VL-IDE miniport driver for
Windows 95.


Table of Content:

A.........Features
B.........Requirements:
C.........Installation Procedures
D.........Removing the Driver
E.........Knowledge Background
F.........Frequently Asked Questions
G.........Devices Tested


+----------+
| Features |
+----------+

* This is the version 1.5 of the VL-IDE 32-bit miniport driver for Windows 95.
  For those that still have version 1.0, you should upgrade to this one.

* This is a 32 Bit miniport driver which supports IDE HD and Atapi CD-ROM
  in just one driver.

* The driver supports up to 4 CHS HD, 4 LBA(Enhanced IDE), and 4 Atapi 
  IDE CD-ROM.

* This driver corrects the problem for the Western Digital and Maxtor HD,
  where the Standard IDE/ESDI driver from Microsoft can not find those HD
  if they are not on primary IDE channel.

* The driver will identify the hard drive and the CD-ROM with the correct
  manufacturer and model number information. Where as the one from MS will
  only identify the HD type.

!Features and bugs fixed added for V1.5

! Added multisectors block transfer to increase the speed 

! Fixed the CD-ROM audio problem with CD-Player and Media Player.

! Reprogrammed the Atapi CD-ROM detection procedures because some of you
  complained that it took too long to detect the CD-ROM.

! Fixed the LBA detection for some hard disk.

+--------------+
| Requirements |
+--------------+

Because we added the multisectors block transfer in this version, there are
some requirements to be met in order to use the multisectors transfer 
functions. We put the requirement because many hard disks that we tested do
have firmware bugs in which the multisectors protocol is not implemented
correctly. If firmware bugs do occur, then the system will lock up or the 
data will be corrupted. So to minimize those problems, we place some of the
requirements. So if your hard disk meets all the requirement, then the miniport
driver will do multisectors transfer; otherwise, only 1 sector will be transferred
at a time. Sometimes, some hard disks will tell the driver that it can do the 
multisector transfer but in reality it can not. In that case, the system 
will hang most likely or you can not access the hard drive at all.

1. This driver DOES NOT support any kind of DISK Manager or Compressed Disk!
   So if you are using those software, don't even bother to install the 
   driver. It will not support AT CD-ROM either.

2. Only those hard disks that support PIO mode 3 or better will use the 
   multisectors transfer. PIO mode 0,1, & 2 will only do single sector 
   transfer.

3. If your hard disk is larger than 528MB or the total number of cylinder is
   greater than 1024, please always use the LBA parameters instead of the 
   disk manger.

4. If you hard disk is less than 528MB or the total number of cylinder is 
   less than 1024 then please always use the normal CHS parameters.

5. Some BIOS, such as AMI, can change the IDE block mode's sector number. 
   Please do not set the sector yourself. Always use AUTO instead.

6. Even though the driver does support ATAPI CD-ROM, but you still need to 
   load the CD-ROM driver in the config.sys file in order for the miniport
   driver to correctly identify your CD-ROM. But please DO NOT install the
   MSCDEX.EXE in the autoexec.bat file.

This device driver uses the following resources.

Addressed: 
        Primary IDE channel:   1F0 - 1F7, & 3F6-3F7
        Secondary IDE channel: 170 - 177, & 376-377

Interrupt or IRQ:
        Primary IDE channel:   14
        Secondary IDE channel: 15


+-------------------------+
| Installation Procedures |
+-------------------------+
1. If you've already installed the version 1.0 driver, then you should remove
   the driver completely  before install the version 1.5 driver. Please follow
   the instructions on how to remove the driver in the "Removing the Driver"
   section below.

2. After unziping the TYN95_15.zip file, please copy all the files to a
   blank diskette. Copy S134X95.SYS to C: Drive and add the statement

   device=c:\s134x95.sys #

          (Notice that # is the wait state of your VL local bus. Please use
          1 for high performance system, 2 for VL bus speed = 33Mhz, 5 for VL
          bus =50Mhz, and 7 for default.)

   in your config.sys file. This the real mode driver which will turn on all
   the enhanced features for IDE chip. The # is the wait state for the
   system. The valid numbers are 1 to 7 for 1 being the fastest and 7 being
   the slowest. 

2a. If you've already completely removed the OEMX.INF in the INF directory and
    have removed all the driver in the hard disk controller section of the
    DEVICE MANGER tab in the SYSTEM applet, then go to step 3.

2b. Restart Windows 95. By this time, the system should have 1 or 2 "Standard IDE/ESDI
   hard disk controller" installed under Win95. Please Remove those drivers
   first. Double click My_Computer with the right mouse button to bring out 
   the properties tabs. Then choose the Device Manager tab and go down to the 
   Hard Disk Controller section. Click on the + sign so that you will see 1 
   or 2 "Standard IDE/ESDI" driver for your hard drive. Remove ALL the 
   "Standard IDE/ESDI Hard Disk Controller." Do not restart yet.

3. After removing all the "Standard IDE/ESDI" drivers or the version 1.0 of
   the 32bit miniport driver, close the SYSTEM windows and double click on 
   the "Add New Hardware" icons in the Control Panel. Select "NO" when asked 
   to let Windows 95 automatically search the new hardware. Click NEXT to 
   continue, then double click the "Hard Disk Controllers" selection and 
   then click on "Have Disk..." button.

4. Insert the disk that you've just made to Drive A: and click OK to continue.
   You will see "Tyan 32-Bit VL-IDE Miniport Driver V1.5" being selected.
   At this point, click NEXT to continue the installation then click OK to 
   copy the file. ***If you have any device hook up to the 2nd IDE channel, 
   please repeat step 3 and 4 again to add another driver; otherwise, 
   continue.***

   **During this time, if your have IDE CD-ROM hooked up to the controller,
   then the mouse pointer will pause for a short period of time. Please do
   not panic, this is when the new device driver is trying to identify your
   CD-ROM and HD in your system. Some CD-ROMs respond very slowly so that we
   have to stop all your windows activities to correctly identify the IDE
   CD-ROM.***

5. After copy the file, Windows will ask you to restart or tell you that 
   there is a conflict. But don't restart. Instead, double click 
   SYSTEM applet in the Control Panel and go to the Device Manager tab. Go 
   down to the Hard Disk Controller section and select the 1st "Tyan 32-Bit 
   VL-IDE Miniport Driver". Click on the "Properties" button below then 
   select the "Resources" tab. Click on the "Set Configuration Manually" 
   button and change the "Setting based on" to "Basic Configuration 0". 
   Click OK to save the change. Choose the 2nd "Tyan 32-Bit VL-IDE Miniport 
   Driver," if you have one. Then do the same thing except this time pick 
   setting based on to "Basic Configuration 1."

*6. Step 5 is very important. The first Tyan 32-Bit VL-IDE Miniport Driver 
*   must use the addresses 1F0-1F7, 3F6, and IRQ 14 and the 2nd Tyan 32-BIT 
*   VL-IDE Miniport Driver must use addresses 170-177, 376, and IRQ 15. 
*   Otherwise, the system can not shut down properly, restart correctly, 
*   or restart to MD-DOS mode. So please, make sure you don't reverse the 
*   order of the driver. Also, you must remove all other IDE HD drivers 
*   before adding this driver; otherwise, Win95 can not properly
*   register this driver correctly.

7. Restart the computer by choosing Start->Shut Down->Restrat the Computer.

8. After restarting, you can check to see if the driver is correctly loaded.
   Check the Performance folder in the SYSTEM icon and make sure you are
   using 32 bit file system and 32 bit Virtual Memory for maximum performance.
   Or you can check the Hard Disk Controller in the Device Manger folder and
   make sure the miniport driver is loaded. Or you can check the Disk Drives
   in the Device Manager folder to see if the driver identify each hard drive
   correctly with the correct HD manufacturer and HD model number.


+---------------------+
| Removing the Driver |
+---------------------+                       
If you want to upgrade the version 1.5 then you should remove the old version
1.0 permanently not temporarily. 

Temporarily: Go to the DEVICE MANGER and remove the Tyan 32-bit VL-IDE 
             miniport driver in the hard disk controller section.

Permanently: Go to the INF directory first. This is hidden directory so you 
        should change the VIEW option to view all the files first. In that
        directory, you will find several OEMX.INF files and X is number that
        Windows 95 assigned to the setup files every time you add a driver.
        So we do not know which number of the OEMX.INF is associated with
        our old driver. Thus, you have to look through every OEMX.INF file
        and look for the first 3 lines with the strings
        
        [version]
        signature="$CHICAGO$"
        Class=hdc
        Provider=%TYN%

        to find out the correct OEMX.INF that Windows 95 assigned. If you
        install the driver more than once, then you probably have several 
        OEMX.INF files that are associated with our controller. Remove ALL 
        the OEMX.INF files that are associated with our controller. If you
        are using two IDE channel then you will have two OEMX.INF files. But
        if you install the driver more than twice, then you will have more
        OEMX.INF files.

        Then, go to the DEVICE MANGER and remove all the Tyan 32-BIT VL-IDE
        miniport driver in the hard disk controller section. Shutdown and 
        reboot the system. The 2nd times you boot up or the next time you
        use the Add New Hardware feature, Windows 95 will give you a message 
        saying it's rebuilding the device driver database.



+----------------------+
| Knowledge Background |
+----------------------+
What is the Multisector transfer method?

Definition:
        1 sector = 512 bytes = 256 words
        1 MB = 1024K bytes = 1024000 bytes

Normally, the hard disk only transfer one sector at a time and then generate
a interrupt to notify the completion of the transfer. So to read/write 1MB
of data, the CPU has to transfer 2000 sectors and generate 2000 interrupts
to check the status of the transfer. 

Multisector device driver enable the hard disk to transfer multiple of sectors
at a time; thus reduce the interrupt times and increase the performance. 
Each hard disk have a different number of multiple sector. For example, 
Quantum Fireball 1GB can only transfer up to 8 multiple sectors at a time 
while Seagate 1GB can transfer up to 32 sectors at a time. In the case of 
Quantum 1GB, the CPU transfer 2000 sectors but only generate 250 interrupts
compare to 2000 interrupts for the single sector transfer method. In the case 
of Seagate 1GB, the CPU can transfer 2000 sectors and only generate 63 
interrupts. Multisector transfer is good when the OS is requesting a large
chuck of data to be transferred. Otherwise, if the OS only requests small
amount of data, then the benefit of the multisectors transfer will not be
as clear.

In additon, some of the hard disk manufacturers do not implement the 
multisectors function correctly and thus doing a multiple read/write transfer 
will sometimes be slower than single sector transfer. 


+----------------------------+
| Frequently Asked Questions |
+----------------------------+

Q: How can I re-install the driver when I just temporarily remove the driver.
A: If you have not delete the OEMX.INF file and you just want to re-install
   the driver again, then DO NOT follow installation procedures. Instead, 
   just go to the "Add New Hardware" applet in the Control Panel and 
   add the Hard Disk Controller manually by going down to the Manufacturer 
   Tyan Computer and select the driver from there.
   
   But if you remove the OEMX.INF file and the driver all together, then you
   should follow the installation procedures again.


Q: Can I use Microsoft's standard ESDI/IDE driver for one IDE channel and
   use Tyan's Miniport driver for another IDE channel?
A: Sure you can.


Q: I got a exclamation mark in front of my VL-IDE driver. What does it
   mean?
A: The exclamation mark means 4 things.
   1. There is no device being hook up to that particular IDE channel.
   2. The driver fail to identify the device on that channel.
   3. There is a device resource conflict in the system.
   4. A real mode driver in either config.sys, autoexec.bat, or system.ini
      has gotten control of the IDE devices. Thus the protected driver can
      not be loaded.


Q: I have a cross in front of my VL-IDE driver.
A: This means that the driver has being disable. Change the driver's property
   and select the "Original configuration (current)" box to re-load the 
   driver.


Q: Windows 95 can not find the CD-ROM after the warm boot.
A: Many CD-ROM does not reset properly with warm boot. In that case, press
   the reset button after shutting down the computer.

Q: My hard drive got stuck during boot up!
A: Your C: drive probably has a firmware bugs which does not allow it to
   use the multisector transfer. Use the Microsoft standard IDE driver to
   do single sector transfer instead.


Q: I can start Windows 95 but I can not access my 2nd, 3rd, or the 4th 
   hard disk. 
A: Your hard drive probably has a firmware bugs which does not allow it to
   use the multisector transfer. Use the Microsoft standard IDE driver to
   do single sector transfer instead.


Q: My CD-ROM and hard disk is not working on the 2nd IDE channel.
A: Many sound card use IRQ 15 for the midi channel. So we advice that you
   do a custom installation for the sound card instead so that you know
   when to avoid certain addresses and IRQs.


Q: How come I can not shut down Windows 95 after installing the driver.
A: Please make sure that the 1st Tyan 32-Bit VL-IDE Miniport Driver uses the
   addresses 1F0-7, 3F6, and IRQ 14 and the 2nd Tyan 32-Bit VL-IDE Miniport
   Driver uses the addresses 170-7, 376, and IRQ 15. Otherwise, your system 
   can not be shut down correctly and you can not even boot to MS-DOS mode 
   from Win95. Please refers back to step 5 of the installation procedure.


Q: How come my system boot up very slowly and horizontal line on the boot
   up screen stop for a long time.
A: That is when the device driver is trying to detect your ATAPI CD-ROM by 
   sending a reset signal to the CD-ROM. But some of the CD-ROMs are way
   off the specification in which it will take a long time for the CD-ROM
   to insert the properly ATAPI signature. The driver has to wait for the
   CD-ROM to response and you do have to put up with that.


Q: I have a CD-ROM as the master and a hard drive as the slave, but Windows
   95 can not find my CD-ROM.
A: Some IDE CD-ROMs behave strangely as a master when a HD is attached as a
   slave. If you get the message of Windows protection Fault, then please 
   hook up the CD-ROM as a slave and the HD as a master instead. 


Q: How do I maximize the performance?
A. To increase the performance, always separate the CD-ROM from the HD. 
   For example, if you have 1 or 2 HD and 1 IDE CD-ROM, put the HD on the 
   primary IDE channel and the CD-ROM on the 2nd IDE channel. If you have 
   3 HD and 1 CD-ROM, put the fastest HD on the primary channel and put 
   the slowest HD as a master on the channel and the CD-ROM as a slave 
   on the 2nd channel.

   For examples,
                 Primary IDE Channel    Secondary IDE channel
                 Master    Slave        Master     Slave
       good      PIO 4     PIO 3        CD-ROM
       good      PIO 4                  PIO 0      CD-ROM
        bad      PIO 4     CD-ROM       PIO 3
        bad      PIO 3     PIO 1        CD-ROM
       good      PIO 2     PIO 1        CD-ROM       
        

+----------------+
| Devices Tested |
+----------------+

This miniport driver has been tested with the following devices.

ATAPI IDE CD-ROM:
        Sony    2X, 4X
        Mitsumi 2X
        Toshiba 4X

Hard Disk:
        Maxtor  850MB
        Conner  1.2BG
        Fujitsu 1GB, 540MB
        Quantum 270MB, 345MB, 730MB, 1GB
        Seagate 1GB
        Western Digital 1GB, 640MB


If you have any problem with this device driver, please e-mail to
                        v15_bugs@tyan.com

We thank you in advance for notify our programmer of the problem that you
discover. In order to help us do the debugging, please include all the 
necessary information of your system or the software that you are running.

For example, please don't just say my CD-ROM get stuck when the driver is
loaded. Tell us about the model of your CD-ROM and also your system 
configurations so that we can duplicate the problem. And any information
that you think is vital to help us make the driver better.

PS. Check out our WWW site at http://www.tyan.com for any update.







