so ASPI MS-DOS Manager with ASPI Disk Module Version 3.
adoptee ASW-1410 Ver.
I I I I I I I I I I I I I I I I I I I I
Preface COPYRIGIIT Copyright 1991 Adaptec, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written consent of Adaptec, Inc. 691 South Milpitas Blvd., Milpitas, CA 95035 CHANGES The material in this manual is for information only and is subject 10 change without notice.
Table of Contents 1.0 INT'RODUCTION .................................................................................... 1-1 ASPI J)()S MANAGER ......................................................................... l-l ASPI4 J)()S.SYS AND ASPIEDC>S.SYS ............................................... 1-1 ASPIDISK.SYS ....................................................................................... 1-2 AFDISK.EXE ..............._........................................................................
This page intentionally left blank. ASW-1410 Ver.
Introduction Section One This document provides installation infonnation on Adaptec's Advanced SCSI Programming Interface (ASPJ) DOS Manager for Adaptec's bus master line of SCSI host adapters. These host adapters currently include the AHA-1540B/1542B, AHA-1640, and AHA-1740/1744 SCSI host adapters. Also included is the ASPI disk driver ASPIDISK.SYS, and the SCSI hard disk partitioning program AFDISK, with full support for removable media (512 bytes/sector media only).
Section One Introduction to support programs that use virtual memory (i.e., MS Windows 3.0, MS Windows 386, Quarterdeck QEMM 386, Qualitas 386MAX) to support programs that write large amounts of data directly to video memory (AHA-1540/1542/1640 only) to change the host adapter configuration to increase performance (ASPI4DOS.SYS only). These managers fully conform to the Virtual DMA Services (VOS) specifica tion (described in Section Five, "Commonly Asked Questions" of this document). ASPIDISK.
Introduction Section One If only a total of two or less hard drives is in the system
Section One Introduction This page intentionally left blank. ASW-1410 Ver.
Installation Section Two The first installation step is to copy the files from the ASW-1410 program diskette to a directory on drive C using the- DOS COpy command. ASPI4DOS.SYS INSTALLAnON The ASPI4DOS.5YS Manager should only be used with the AHA-1540/ 1542, the AHA-1640, and the AHA-1740/1744 (standard mode only). If the AHA-1740/1744 is in the enhanced mode, the ASPIEDOS.SYS driver should be used, and installation is described in the ASPIEDOS.SYS INSTALLATION section.
Section Two Installation When the driver is loaded, the display should look similar to: AHA-1540/1542/1640 ASPI Manaoer for DOS Version 3.0 Copyrloht 1991 Adaptec. Inc. lnt 13H routed throuoh ASPI manaoer ASPI4DOS.SYS Installation Successful If you add the' /0' command line option (i.e., DEVICE = ASPI4DOSSYS /0), the driver will display configuration information similar to: AHA-1540/1542/1640 ASPI Manaoer for DOS Version 3.0 Copyrioht 1991 Adaptec. Inc. Host Adapter .
Installation Section Two /P Sets the port address that the driver uses to communicate with the host adapter. This value is in hex. Valid addresses are: 130, 134, 230, 234, 330, 334
Section Two Installation /WM This option has the same function as the /W option except that this will always allocate the 64K virtual buffer from main memory. Do not use the /W switch and the /WM switch at the same time. Use the /WM switch if the /W switch does not work, or if no extended memory is available. /V This option will enable video buffering.
Section Two Installation Five values are predefined: 00 - 5.0 MB/sec (i.e.,/XOO) 01-6.7 MB/sec 02 - 8.0 MB/sec 03 -10.0 MB/sec 04 -5.7 MB/sec WARNING: AT BUS MASTER TRANSFER SPEEDS OF GREATER THAN 5.7 MBYTESI SECOND ARE NOT SUPPORTED IN ALL AT SYSTEMS. INCREASING THE TRANSFER SPEED TO A SPEED GREATER THAN THE AT CAN HANDLE MA Y CAUSE A HANG CONDI TION. A VALUE OF FF (E.G., IXFF) WILL SET THE HOST ADAPTER TO THE SWWEST AND MOST COMPATIBLE TRANSFER SPEED OF 3.3 MBYTESISECOND.
Section Two /NORST Installation This option will cause the driver to not issue a hard reset to the host adapter during initialization only if the BIOS is disabled. If the BIOS is en abled, no hard reset is ever issued by the driver because the BIOS resets the board during its . initialization phase. If not specified with the BIOS disabled, all devices on the SCSI bus will be reset. ASPIEDOS.SYS INSTALLATION ASPIEDOS.SYS is only used with the AHA-1740/1744 in enhanced mode.
Installation Section Two COMMAND LINE OPTIONS The following command line options may be added to the ASPIEOOS.SYS driver to change the parameters of the host adapter: DEVICE= [pthname1ASPIEOOS.SYS [lS] [/01 [lL] IS Sets the slot number where the driver will find your AHA-1740/1744 host adapters. The valid slot values are: 1,2,3,4,5,6,7,8,9, 10, 11, 12, 13, 14, 15
Section Two Installation ASPIDISK.SYS INSTALLATION In order for the ASPIDISKSYS driver to recognize logical drives partitioned with AFDISK, the CONFIGSYS file must contain the following DEVICE= command: DEVICE =(path] ASPI4DOS.SYS [optional switches] DEVICE = [path) ASPIDISKSYS [optional switches] or DEVICE = [path) ASPIEDOS.SYS [optional switches] DEVICE = [path] ASPIDISKSYS [optional switches] Note: The ASPIDISK.SYS driver must be loaded after the ASPI4DOS.SYS or ASPIEDOS.
Installation Section Two If you add the '/D' command line option to both drivers (i.e. , DEVICE = ASPI400s.5YS /D DEVICE = ASPIDISK.SYS /D), the driver will display configuration information similar to: AHA-lS40/1S42/1640 ASPI Manager for DOS Version 3.0 Copyright 1991 Adaptec, Inc. Host Adapter .: I/O Port Address Interrupt Level: Host Host Host Host Adapter Adapter Adapter Adapter .0 .0 .0 .
Section Two Installation To invoke AFDISK, simply type AFDISK at the OOS prompt. Currently three slash options are available with AFDISK. These are: /Mor /MONO /? ;Run AFDISK in black and white mode ;Display currently supported / options AFDISK may need to run in black and white mode in some laptops, with some monochrome VGA monitors, and other systems that do not properly display AFDISK in color mode. If "/M" is not working correctly, try "MODE BW80" before running AFDISK.
Section Two Installation The displayed list shows all installed SCSI disk drives, including remov able media devices. The "HAN" field indicates the host adapter number. If running a single host adapter, this number win be zero. The ''Target'' field indicates the SCSI devices target 10. Select the SCSI disk to parti tion, and format, and press . The screen win look similar to: 100 mBQabyt•• 32112h blocks Logical drive information will be displayed in the lower left-hand corner of the screen.
Section 1\vo Installation The existing partitions on the drive will be displayed on the upper right hand comer of the screen. Both DOS and non-DOS partitions can be deleted by pressing the key and answering "ye~' to the prompt. In this example, no partitions exist. To create a partition, press the key. The screen will look similar to: vl.O 100 cyl1ndllra 512 bytu/uctor 100 lIIIIQabyte. l2112h block.
Section Two Installation When the desired cylinder numbers have been entered, press the key. The screen will look similar to: Adaptec Disk Setup Utility v3.0 Use the down arrow key to select ''Yes'' and press the key. If additional partitions are desired, hit the key and repeat the instructions described above. After partitions have been created, the partitions will be displayed. In the following example, two 32-megabyte partitions were created. Adaptec Disk Setup Utility v3.
Section Two Installation A drive that was installed with the host adapter BIOS cannot be parti tioned with AFDISK. If such a drive is selected, the following screen will appear: Adaptec Disk Setup Utility v3.O You have selecte
Software Considerations Section Three Some programs that use the virtual mode of the 386 sometimes require a virtual buffer allocated to run correctly with the AHA-1540/1542, the AHA-l640, and the AHA-1740/1744 (standanl mode). A virtual buffer can be allocated with the command line switch /W or /WM after the ASPI4DOSSYS driver. See the table below to determine if a separate buffer is required.
Section Three Software Considerations Program Version' Note 386MAX by Qualitas Previous to 4.08 /W should be used. If it is used, at least 64K of extended memory should be left free when 386MAX is loaded (i.e., DEVICE = 386MAX.SYS EXT~4). ASPI4DOS.SYS should NOT be loaded into "high" memory. MOVE'EM· by Qualitas All No buffer required. Driver can be loaded into ''high'' memory.
Section Four Using Multiple Host Adapters The ASPI400s.SYS and ASPIEOOS.SYS drivers will support multiple host adapters. Support for multiple host adapters can be achieved by loading one copy of the driver, and specifying the appropriate IPxxx option (AT) or IS (Micro Channel, EISA) option specifying the port address or slot location. The drivers are capable of chaining themselves onto the ASPI entry point, so the'ASPI400s.SYS and ASPIEOOS.
Section Four Using Multiple Host Adapters The host adapter at port address 330 will be assigned to HA #0, and the host adapter at port address 334 will be assigned to HA #1. If a com mand line option is specified that alters the operation of the host adapter (e.g. , /N04 to set the bus on time to 4 J.I.5eC), both host adapters will be set to the same value.
Section Four Using Multiple Host Adapters AHA-1740 Standard Mode: When the AHA-1740 is in Standard Mode, the ASPI4DOS.SYS driver should be used. Multiple adapters are handled just like multiple AHA 1540 series adapters. Ehanced Mode: When the AHA-1740 is in Enhanced Mode, the ASPIEDOS.SYS driver should be used. Multiple adapters are handled just like multiple AHA 1640 series host adapters. The following is the CONFIG.
Section Four Using Multiple Host Adapters This page intentionally left blank. ASW-141O Ver.
Section Fi.ve Commonly Asked Questions Q. What is VDS? A. VDS stands for virtual DMA Services. It is a standard, developed so that bus master devices can obtain the physical address of software that is running in the protected mode of the 386. It eliminates the need for a separate buffer, thus increasing overall system perfor mance. The ASW-1410 ver 2.0 and newer fully supports the VDS specification. Microsoft Windows 3.0 also supports VDS. See section on "Software Considerations." Q.
Section Five Commonly Asked Questions Q. What are the DOS partition limits with my SCSI host adapter? A. The maximum 005 partition size is determined by the 005 version. The following table can be used to determine the maximum partition size: DOS Version MllXimum Partition Size MS or IBM 3.30 32 MBytes/partition Compaq 331 512MBytes/partition MS or IBM 4.0 and newer 1 GigaByte/partition MS or IBM 5.0 1 Gigabyte/partition Q. How do I instaU a removable media drive? A.
Section Six Error Messages ASPI4DOS.SYS Invalid entry for 'Ip' setting You have entered an invalid' IP' setting on the command line. There are six valid port settings: 334,330, 234, 230, 134, and 130 (e.g., IP334). Invalid entry for 'In' setting You have entered an invalid'IN' setting on the command line. You can only enter number 2-15 (e.g., IN10). lhis bus on time is entered in decimal. This option is only valid for the AHA-l54O/ 1542.
Section Six Error Messages Unable to set Bus Master transfer rate The driver failed in its attempt to set the host adapter's Bus Master DMA transfer rate. This error will only occur with the AHA-1540/ 1542 or the AHA-1740/1744 (standard mode). Make sure there are no hardware conflicts within your system, the host adapter's jumpers are set correctly, and that the host adapter is securely inserted.
Section Six Error Messages Not enough memory available to load driver This error only occurs with DOS 5.0 and above. This message will only be displayed if the ASPI4 DOS.SYS driver is being loaded high ('DEVICEHIGH=') and not enough upper memory is available. Use 'DEVICE =' to load the driver into conventional memory. Failed scanning for SCSI devices The driver failed scanning for devices on the SCSI bus. Make sure that the SCSI bus is properly terminated.
Section Six Error Messages ASPIDISK.SYS No SCSI logical drives to support. This indicates that ASPIDISK has not found any logical drives to support. The driver will not load and take up memory if this message appears. There may be no logical drives to support for several reasons: 1. There are no attached SCSI disk drives. 2. All SCSI disk drives are under control of the host adapter BIOS. 3. The SCSI disk drives have not been partitioned yet. Error issuing SCSI Inquiry command.
Error Messages Section Six Failed to read, or invalid, boot record. This messgae will appear if ASPIDISK was unable to read data from a disk, or if the data read from the disk was invalid. This may occur if the drive has not been partitioned or formatted yet, or is defective. A low-level format of the drive may fix this problem. The driver will oontinue to load for valid attached devices. WARNING: Maximum number of DOS logical drives (A: to Z:) reached.
Section Six Error Messages This page intentionally left blank. ASW-1410 Ver.
adaptee 691 south milpitas blvd.• milpitas. ca 95035 • (408) 945-8600 Stock No.: SfOI68..(() Rev.