;
;*---  Wangtek Tape Host Adapter
;      ISA CFG Version 1.00
;
BOARD
    ID = "DEL0F0B"
    NAME = "Wangtek Tape Host Adapter"
    MFR = "DELL"
    CATEGORY = "MSD"
    LENGTH = 139
    DISABLE = UNSUPPORTED

SWITCH(1)=10
    NAME="SW"
    STYPE=DIP
    REVERSE = YES
    VERTICAL=NO
    LABEL = LOC(1-10) "SW1" "SW2" "SW3" "SW4" "SW5" "SW6" "SW7"
		      "SW8" "SW9" "SW10"
    FACTORY=LOC(1-10) 1111111000
    COMMENTS="
	     Switch SW contains ten DIP switches used to select the
 base input/output (I/O) address for the tape-drive controller 
 board.  The default setting is for I/O address 300h, which means 
 that switches 1 through 7 should be ON and switches 8 through 10 
 should be OFF.  The ten DIP switches correspond to address lines 
 A0 through A9.\n
\n           OFF = 0,     ON = 1
\n     Switch Positions:
\n            1101110100 = 000 hex
\n            1001010100 = 2AC hex
\n            1111111000 = 300 hex (default)
\n            1100011000 = 338 hex"

JUMPER(1)=6
    NAME="IRQ"
    JTYPE=PAIRED
    REVERSE = YES
    VERTICAL = NO
  COMMENTS = "Interrupt Request Jumper\n
\n         Jumper IRQ is used to select the interrupt request (IRQ)
 line for the tape-drive controller board.  The default setting is
 IRQ3, which means that a jumper plug should be installed on the second
 pair of pins (labeled \"3\").\n
\n           OUT = 0,    IN = 1\n
\n     Jumper Plug Positions:
\n       1   (2)   -  IRQ2
\n       2   (3)   -  IRQ3 (default)
\n       3   (4)   -  IRQ4
\n       4   (5)   -  IRQ5
\n       5   (6)   -  IRQ6
\n       6   (7)   -  IRQ7"
    LABEL= LOC(1-6) "2" "3" "4" "5" "6" "7" 
    FACTORY=LOC(1-6) 010000

JUMPER(2)=3
    NAME="DRQ"
    JTYPE=PAIRED
    REVERSE = YES
    VERTICAL = NO
  COMMENTS = "DMA Request Jumper\n
\n         Jumper DRQ is used to select the direct-memory-access request
 (DRQ) line for the tape-drive controller board.  The default setting
 is DRQ1, which means that a jumper plug should be installed on the
 first pair of pins (labeled \"1\").\n
\n           OUT = 0,    IN = 1\n
\n     Jumper Plug Positions:
\n       1   -  DRQ1 (default)
\n       2   -  DRQ2
\n       3   -  DRQ3"
    FACTORY=LOC(1-3) 100

JUMPER(3)=3
    NAME="DACK"
    JTYPE=PAIRED
    REVERSE = YES
    VERTICAL = NO
  COMMENTS = "DMA Acknowledge Jumper\n
\n         Jumper DACK is used to select the direct-memory-access
 acknowledge (DACK) line for the tape-drive controller board.  The
 default setting is DACK1, which means that a jumper plug should be
 installed on the first pair of pins (labeled \"1\").\n
\n           OUT = 0,    IN = 1\n
\n     Jumper Plug Positions:
\n       1   -  DACK1 (default)
\n       2   -  DACK2
\n       3   -  DACK3"
    FACTORY=LOC(1-3) 100

FUNCTION = "Tape Drive Controller"
TYPE = "TAPCTL"
  SUBFUNCTION = "DMA"
  CHOICE = "Tape Drive Controller"
  LINK
  DMA = 1 | 2 | 3
  INIT = JUMPER(2) LOC(1-3) 100 | 010 | 001
  INIT = JUMPER(3) LOC(1-3) 100 | 010 | 001

  SUBFUNCTION = "Interrupt"
  CHOICE = "Interrupt"
  LINK
  IRQ = 3 | 2 | 4 | 5 | 6 | 7
  INIT = JUMPER(1) LOC(1-6) 010000 | 100000 | 001000 | 000100 | 000010 | 000001

  SUBFUNCTION = "Port"
  CHOICE = "Port"
  LINK
  PORT = 300h-301h | 2ACh-2ADh | 338h-339h
  INIT = SWITCH(1) LOC(1-10) 1111111000 | 1001010100 | 1100011000
