home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
new
/
amigalibdisks
/
d1000
/
btntape
/
doc
/
install.doc
< prev
next >
Wrap
Text File
|
1994-04-03
|
17KB
|
329 lines
This section of the BTN documentation discusses how to install and configure
the BTN software on your system.
**** BTNtape: an AmigaDOS handler for SCSI tape drives
**** Version 3.0 3/14/94
**** Freeware by Bob Rethemeyer (drBob@cup.portal.com)
**** (c) Copyright 1990, 1994 Robert Rethemeyer.
INSTALLATION:
1. Copy the BTN-HANDLER file to L:
Copy the TAPEMON file to C: or a directory appropriate for you.
2. Create an entry in DEVS:MOUNTLIST something like this:
TAPE: Handler = L:btn-handler
Priority = 5
Stacksize = 4000
Mount = 1 /* optional. see CBM docs */
GlobVec = -1
Startup = "yourscsi.device/AA-x/BB-x/..." /* EXPLAINED BELOW */
#
The most important line in the mountlist entry is the "Startup=" line.
This line is discussed fully below.
There is nothing magic about the name TAPE: You may use some
other valid device name if you like. You may also create and mount
more than one device using the same physical tape drive but different
names and different startup parameters, provided you do not try to
access them simultaneously. (Example: you could have both a TAPERW: for
reads and writes, and a TAPERO: which is read-only using the AO flag.)
3. Install the handler in DOS using the CLI command "MOUNT TAPE:"
NOTE: I recommend you use only the Commodore version of MOUNT.
I cannot guarantee BTN will work with any other mount variants.
If there is a problem during mounting, BTN will put up a requester with
one of the following brief explanatory messages:
"Can't open SCSI-direct" - OpenDevice("yourscsi.device") failed.
Possibly due to misspelled device name
or wrong case (name is case sensitive).
Or driver doesn't recognize device,
may have been powered off at boot time.
"Can't select tape drive" - Problem with drive, SCSI bus, or adapter.
SCSI device is not talking or has a
serious error.
"UNit is not a tape drive" - UN is wrong; may be pointing to a disk.
Once you click the requester, BTN will terminate. You can then remedy
the problem, reboot (or use the ASSIGN command with REMOVE or DISMOUNT
to get rid of the dead device), and try again.
4. Run the TapeMon program. This step is not essential, but while
you are learning to use BTN, it will be very helpful if you can
see what is going on. And if you encounter an error, you will want
to know what happened and what was going on at the time.
THE STARTUP PARAMETERS
The mountlist Startup string is used by the handler to determine how
to access your drive. FAILURE TO ENTER PROPER INFORMATION IN STARTUP
MAY RESULT IN PROBLEMS INCLUDING HANGS, VISITS FROM THE GURU,
OR DATA LOSS. This is the ugliest part of installing. Pay attention.
The Startup string must be in the form:
Startup = "devicename/keyword-number/keyword-number/..."
It must not have any embedded blanks and must be enclosed in quotes.
Each parameter must be separated by slashes.
The first parameter must be the name of the device driver which provides
the SCSI-direct command interface. Do not include any path information.
This name is defined by the manufacturer of your SCSI adapter.
(If you don't know what it is, use a utility like XOPER, TASKX, or ARTM
to look at the list of running tasks, and make a guess.)
You MUST use the exact same upper and lower case letters (this is a DOS
restriction). The driver names for the adapters I know about are:
All Commodore machines and adapters (A2091, A590, A3000, etc.)
except A2090A -> scsi.device
Commodore A2090A -> hddisk.device
Supra -> suprascsi.device (Series III v3.0 and above)
GVP -> gvpscsi.device
HardFrame -> HardFrame.device
Nexus -> Nexus.device (NOT NexusTape.device!)
Trumpcard -> IVS_SCSI.device
Trumpcard Pro -> IVS_SCSIpro.device
ICD Advantage -> icddisk.device
Xetec -> harddisk.device
Ashcom -> ADD_scsi.device
The name parameter MUST be the first item in the string. All other
parameters may be in any order, but the name must be first.
The remaining items consist of pairs of two-letter keywords and a number
separated by a dash (minus sign). The keywords are explained below.
You may omit any of them (except UNit), and a default value will be
assumed. The numbers may be decimal, or hex in the "0xNN" format.
UNIT Keyword: UN Default: none
-------------------------------------
The unit number of your tape drive, as it will be addressed
by your hard disk driver. Usually you can just specify the
SCSI bus ID. Example: "UN-4" for 4.
More complex setups may require the form "UN-BLI",
where B=board#, L=logical_unit#, and I=SCSI_bus_ID.
(Example: UN-123 is board=1, lun=2, ID=3)
Be sure you have set the drive's ID switches or jumpers
to a value that is unique on the SCSI bus. (Remember, the
adapter in your machine also has an ID, which is usually 7.)
(2090A owners- add 3 to the physical ID number.)
BLOCK SIZE Keyword: BS Default: BS-512
---------------------------------------------
The number of bytes in a SCSI logical block for
your tape drive. Consult your drive documentation.
If you don't know this info, try 512, the most common value.
(See the hardware.doc file for the values to use with 3M drives.)
Some drives allow you to specify different block sizes, within
a legal range; the handler will command the drive to use the
size you specify. Others can use only one fixed size. If your
drive can use different block sizes, you must use the same size
when reading a tape as you did when writing it.
NUMBER OF BLOCKS Keyword: NB Default: NB-1
----------------------------------------------
The number of SCSI logical blocks to write or read in each
tape operation. This is a performance adjustment only.
Use what works best for you. Most drives will be mechanically more
efficient writing multiple blocks. You may want to tweak this
parameter to find out. The handler will wait until NB blocks have been
accumulated before starting a write. Buffered drives will also have a
limit on the number of blocks the buffers can hold, so the size of NB
relative to that number may have an effect. Consult your drive docs.
This parameter also determines how much memory is needed for
buffers. The handler uses double buffering, so it will need
2 * BS * NB bytes when you Open() it.
For example, if BS=8192 and NB=8, then 8192*8 = 64K,
doubled for a total of 128K.
BUFMEMTYPE Keyword: BT Default: BT-0
-----------------------------------------
The type of memory to allocate for the tape buffers,
same as BufMemType for mountlists. Use 0 or 1 for "any",
2 or 3 for "chip", 4 or 5 for "fast".
FILEMARKS Keyword: FM Default: FM-1
-----------------------------------------
Specifies number of filemarks to write when closing at the
end of a write, or the number to skip for each file when
opening for read. FM-1 (the default) is recommended.
FM-0 means no filemarks are written, and read references
to TAPE:num become the equivalent to TAPE:R.
Allowed range is 0-255. Sequential drives only.
RETENSION flag Keyword: RT Default: RT-0
--------------------------------------------