;Wangtek PC-02 Configuration File
;This file does not describe all board options.
;Only those options that require system resources are described.
BOARD
     ID = "ICU0080"
     NAME = "Wangtek PC-02 Tape Controller"
     MFR = "Wangtek"
     CATEGORY = "MSD"
     SLOT = ISA8
     COMMENTS = "Wangtek PC-02 Tape Controller\n"
     VERSION = 1.0

JUMPER(1) = 12
     NAME = "J1"
     JTYPE = PAIRED
     VERTICAL = NO
     REVERSE = YES
     LABEL = LOC(1-12) "IRQ 2"
                       "IRQ 3"
                       "IRQ 4"
                       "IRQ 5"
                       "IRQ 6"
                       "IRQ 7"
                       "DRQ 1"
                       "DRQ 2"
                       "DRQ 3"
                       "DACK 1"
                       "DACK 2"
                       "DACK 3"
     FACTORY = LOC(1-12) 010000100100

SWITCH(1) = 10
     NAME = "SW1"
     STYPE = DIP
     VERTICAL = YES
     REVERSE = YES
     LABEL = LOC(1-10) "1"
                       "2"
                       "3"
                       "4"
                       "5"
                       "6"
                       "7"
                       "8"
                       "9"     
                       "10"
     FACTORY = LOC(1-10) 1111111000

FUNCTION = "System Resources"
TYPE = "MSD"

SUBFUNCTION = "I/O Base Address"

     CHOICE = "300H"
       FREE
       PORT = 300H
       INIT = SWITCH(1) LOC(1-10) 1111111000
     CHOICE = "000H"
       FREE
       PORT = 000H
       INIT = SWITCH(1) LOC(1-10) 1111111110
     CHOICE = "288H"
       FREE
       PORT = 288H
       INIT = SWITCH(1) LOC(1-10) 1101110110
     CHOICE = "2ACH"
       FREE
       PORT = 2ACH
       INIT = SWITCH(1) LOC(1-10) 1001010110
     CHOICE = "338H"
       FREE
       PORT = 338H
       INIT = SWITCH(1) LOC(1-10) 1100011000

SUBFUNCTION = "Interrupt"

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

SUBFUNCTION = "DMA"

     CHOICE = "1"
       FREE
       DMA = 1
       INIT = JUMPER(1) LOC(7-12) 100100
     CHOICE = "2"
       FREE
       DMA = 2
       INIT = JUMPER(1) LOC(7-12) 010010
     CHOICE = "3"
       FREE
       DMA = 3
       INIT = JUMPER(1) LOC(7-12) 001001
