Driver:	TWSTQ, Version 4.20.00 June 30, 1993
	Copyright (c) 1990-1993, Emeritus Technologies.
	All rights reserved.

	TapeWare Generic QIC-02 device driver

	Date		Mod	Description
	-----------	---	-----------------------------------------------
	05-Dec-1990	RAC	Copied from TWDATDRV.C
	05-Feb-1991	MDB	First working version of driver
	21-May-1991	MDB	Corrected block offset error during reads

	13-Jul-1991	MDB	Removed polling routine from list
				when dSeekBlock is called.

	24-Sep-1991	RAC	Added support for 3.01 header files and
				Borland C++ compiler. Changed version number
				to 3.01.00.

	28-Oct-1991	MDB	Corrected error report of write-protected media

	03-Jan-1992	MDB	Changed dSeekBlock to support interrupt driven
				callBack during seek reads. Made same changes
				to dSeekEOP.

	27-Jan-1992	MDB	Changed version number to 4.00

	27-Mar-1992	MDB	Set Action to ACTIVE prior to calling
				PerformIOPB(); This way, if we get an IRQ
				before PerformIOPB returns, Action will not
				be left active.

	15-Jun-1992	MDB	Corrected bug in handling of file marks. This
				bug was causing ERROR_FILE_MARK to somtimes
				be returned to TapeWare. Also corrected
				similar bug on dOpenReadWrite().

	05-Aug-1992	MDB	Corrected bug in handling of skipping file
				marks in dSeekBlock. This turned out to be
				partially a problem with the QIC-02 controller
				driver (TWQIC).

	05-Aug-1992	MDB	Added dispatch to time delay functions.

	17-Aug-1992	MDB	Removed all places where rewind is called
				immediately followed by off-line. Also, removed
				instances of dWriteMark followed by dRewind and
				dOffLine. Apparently, there seems to be a bug
				in the QIC-02 controller related to the
				timing of some of these commands. QIC-02
				standard states that when a device is taken
				off-line, the tape in the device is rewound and
				if the last command sent to the device was a
				write command, a file-mark is written to the
				tape before it is rewound. Therefore, there is
				no reason to issue these command seperately.

	24-Aug-1992	MDB	Corrected problem with dOpenReadWrite during
				MODE_OVERWRITE processing.

	25-Aug-1992	MDB	Added rewind command in dCloseReadWrite.

	27-Aug-1992	MDB	Bug in dSeekEndOfRead() was not terminating
				seek when seek block number equaled target
				block number. This happens when the seek block
				is the first block following a file mark.

	05-Nov-1992	RAC	Corrected problem with Teac 60Mb rejecting a
				rewind command if the drive is left online.
				This would manifest itself as an Invalid
				Command on formatting a tape.

	Version 4.00.15 ------>	Release 06-Nov-1992

	23-Nov-1992	RAC	Merged Wangtek style QFA into driver. This
				driver is now fully compatible with all QIC-02
				QFA drives of Wangtek style QFA.

	23-Nov-1992	RAC	Added code to perform a hard reset of the 
				drive when stopping the read operation. This
				prevents lockups at end of verify/restore.

	Version 4.00.16 ------>	Alpha 23-Nov-1992, released to Compushack for
				testing on the Alliance DAT.

	25-Nov-1992	RAC	Merged Archive style QFA into driver. This
				driver is now compatible with all standard
				modes of QFA access.

	Version 4.00.17 ------>	Alpha 25-Nov-1992

	06-Dec-1992	RAC	Corrected block number problems with both
				the Wangtek and Non-QFA versions of the
				dSeekBlock, dGetBlockPosition and dSeekEnd
				algorithms.

	Version 4.00.18 ------> Alpha 07-Dec-1992, released to Compushack for
				testing on the Alliance DAT.

	10-Dec-1992	RAC	Added rewind after the reset in dStopRead 
				function. Wangtek devices do not go to BOT
				after a reset.

	10-Dec-1992	RAC	Adjusted NonQFA starting block to block # 2.
				This is compatible with the QFA modes of 
				block numbering...

	10-Dec-1992	RAC	Added command line switch FIRSTBLOCK=n for
				compatability with existing tapes for Non-QFA
				drives. Should be set to 0 for to read older
				tapes without importing them. Set to 2 for 
				compatibility with all the QFA modes.

	10-Dec-1992	RAC	Added call to dCheckStatus after the reading
				of the media header in MountMedia. This will
				clear the pending filemark condition on the
				Archive drives after the read.

	10-Dec-1992	RAC	Corrected the block search algorithm in the
				dSeekBlock_NonQFA routine.

	Version 4.00.19 ------>	Alpha 10-Dec-1992, released to Compushack for
				testing on the Alliance DAT.

	10-Dec-1992	RAC	Added QFA mode check on startup. Also, added
				QFAENABLE=Yes|No command line to disable the
				use of both Wangtek and Archive QFA modes.
				Removed all calls to ConsolePrintf to compile
				the DOS DDL.

	Version 4.00.20 ------>	Alpha 10-Dec-1992, released to Compushack for
				testing on the Alliance DAT.

	14-Dec-1992	RAC	Corrected block starting address for Archive
				QFA drives, was 2 but should be 1...

	Version 4.00.21 ------>	Alpha 14-Dec-1992, released to Compushack for
				testing on the Alliance DAT.

	28-Dec-1992	RAC	Modified algorithm somewhat so the QFA type
				is determined at driver load time. Then a
				switch statement is used to access the
				apporpriate QFA function. Also, set 
				DriverDevice variable to the QFA mode so that
				this can be displayed from driver diags.

	Version 4.00.22	------>	Alpha 28-Dec-1992, release to Compushack and
				Landis for testing on Alliance DAT, and EV-826
				streamer.

	30-Jan-1993	RAC	Updated driver revision to 4.10.00

	01-Jun-1993	GMM	Update to revision to 4.20.00

	30-Jun-1993	GMM	Work around for problem with some drives not
				returning exception status when given write
				commands with cartridge write protected.  Also
				make sure write and seek library mark are
				handled in a benign fashion.

	Valid Tape Types	Media Id   (Specificed with MEDIA=n)
	----------------	--------
	MT_CASSETTE_20		2
	MT_CASSETTE_60		3
	MT_CASSETTE_160		4
	MT_CARTRIDGE_20		7
	MT_CARTRIDGE_60		8
	MT_CARTRIDGE_120	9
	MT_CARTRIDGE_150	10
	MT_DAT_ALLIANCE		16

