BOARD
  ID = "WDC0002"
  NAME = "Western Digital WD1009V-SE2 Winchester Controller"
  MFR = "Western Digital"
  CATEGORY = "MSD"
  SLOT = ISA16
  LENGTH = 320
  READID = YES
  IOCHECK = VALID
  HELP = "
  Use the V)iew D)etail by Slot mode to see Configuration
  Options.  Use E)dit Change F)unction to select Options."


JUMPER (5) = 12
    NAME = "W5"
    JTYPE = PAIRED
    VERTICAL = NO
    REVERSE = YES
    LABEL = LOC(1-12) "1 | 2" "3 | 4" "5 | 6" "7 | 8" "9 |10" "11|12" "13|14"
	"15|16" "17|18" "19|20" "21|22" "23|24"
    INITVAL = LOC(1-12) xxxxxxxxxxxx
    FACTORY = LOC(1-12) 000000000000
    COMMENTS = "
    [ W5 ]\t 0: Not Jumpered, 1: Jumpered\n
    1 - 2\t1: Enable Alternate Sector\n
    3 - 4\t1: Disable Translation \n
    5 - 6\t1: Physical Mode, 0: Force 35spt @10MHz or 53spt @15MHz\n
    7 - 8 \t1: 7-Byte ECC, 0: 4-Byte ECC\n
    9- 10\t1: Disable Caching\n
    11-12\t0: BIOS Address at (C800:0), 1: (CC00:0)\n
    13-14\t1: Disable BIOS\n
    15-18  15-16\t 17-18\tIRQ\n
    \t0 \t0 \t14\n
    \t0 \t1 \t15\n
    \t1 \t0 \t12\n
    \t1 \t1 \t11\n
    19-20\t0: DMA6, 1: DMA7\n
    21-22\t0: Primary IO Address\n
    23-24\t1: Disable Controller"

JUMPER (6) = 4
    NAME = "W6"
    JTYPE = PAIRED
    VERTICAL = NO
    REVERSE = YES
    LABEL = LOC(1-4) "1 | 2" "3 | 4" "5 | 6" "7 | 8"
    INITVAL = LOC(1-4) xxxx
    FACTORY = LOC(1-4) 0000
    COMMENTS = "
    W6 1-2 : IN Disables the WD1009V-SE2 Floppy Controller\n
    W6 3-4 : OUT for Floppy DMA2\n
    W6 5-6 : OUT for Floppy Primary IO Address\n
    W6 7-8 : OUT for Single Speed 1.2 MByte Floppy Drive "

JUMPER (3) = 1
    NAME = "W3"
    JTYPE = TRIPOLE
    VERTICAL = YES
    LABEL = LOC(1) "1-2-3"
    FACTORY = LOC(1) 0
    COMMENTS = "
    W3 1-2 : IN for 1.44 MByte Floppy Drives - AT Type	\n
    W3 2-3 : IN for 1.44 MByte Floppy Drives - PS/2 Type "

JUMPER (2) = 1
    NAME = "W2"
    JTYPE = TRIPOLE
    VERTICAL = YES
    LABEL = LOC(1) "1-2-3"
    FACTORY = LOC(1) 0
    COMMENTS = "
    W2 1-2 : IN for Twisted Cable\n
    W2 2-3 : IN for Non-Twisted Straight Cable"

JUMPER (7) = 1
    NAME = "W7"
    JTYPE = PAIRED
    VERTICAL = YES
    LABEL = LOC(1)"1-2"
    FACTORY = LOC(1) 0
    COMMENTS = "
    W7 1-2 : OUT to Disable EISA Autoconfiguration \n
    W7 1-2 : IN to Enable EISA Autoconfiguration "

JUMPER (4) = 1
    NAME = "W4"
    JTYPE = PAIRED
    VERTICAL = YES
    REVERSE = YES
    LABEL = LOC(1) "1-2"
    FACTORY = LOC(1) 0
    COMMENTS = "
    W4 1-2:  IN - Card Enabled by EISA Host\n
    \tOUT - Card Enabled at All Times "


IOPORT(2) = 0ZC85H
    SIZE = BYTE
    INITVAL = 0XXXXXXX	  ;RESERVE BIT 7 (8 BIT BIOS FOR NOW!)

IOPORT(3) = 0ZC86H
    SIZE = BYTE
    INITVAL = 00XXXXX0	  ;RESERVE BIT 0 (USED FOR 16BIT BIOS)

IOPORT(4) = 0ZC87H
    SIZE = BYTE
    INITVAL = 000XXXXX

IOPORT(1) = 0ZC84H	;WRITE THIS PORT LAST
    SIZE = BYTE
    INITVAL = 00000X0X

GROUP = "EISA Autoconfiguration Mode"
;(to use this feature W7 must be installed!)"

    FUNCTION = "Fixed Disk Controller Options"
	TYPE = "MSD,DSKCTL"
	HELP = "Use E)dit Change F)unction to Select Options."

	SUBFUNCTION = "IO Address"
	    CHOICE = "Primary"
		FREE
		PORT = 1F0h-1F7h
		INIT = IOPORT(2) LOC(1 0) 00
		INIT = JUMPER(5)LOC(11-12) 00
;	    CHOICE = "Secondary"
;		FREE
;		PORT = 170h-177h
;		PORT = 376h
;		PORT = 377h
;		SHARE = YES
;		INIT = IOPORT(2) LOC(1 0) 10
;		INIT = JUMPER(5)LOC(11-12) 10
;	    CHOICE = "Disabled"
;		FREE
;		INIT = IOPORT(2) LOC(1 0) 01
;		INIT = JUMPER(5)LOC(11-12) 01

	SUBFUNCTION = "DMA Channel"
	    CHOICE = "DMA 6"
		FREE
		DMA = 6
		INIT = IOPORT(2) LOC(2) 0
		INIT = JUMPER(5)LOC(10) 0
;	    CHOICE = "DMA 7"
;		FREE
;		DMA = 7
;		INIT = IOPORT(2) LOC(2) 1
;		INIT = JUMPER(5)LOC(10) 1

	SUBFUNCTION = "Interrupt Request Line"
	    CHOICE = "IRQ 14"
		FREE
		IRQ = 14
		INIT = IOPORT(2) LOC(4 3) 00
		INIT = JUMPER(5)LOC(8-9) 00
;	    CHOICE = "IRQ 15"
;		FREE
;		IRQ = 15
;		INIT = IOPORT(2) LOC(4 3) 01
;		INIT = JUMPER(5)LOC(8-9) 01
;	    CHOICE = "IRQ 12"
;		FREE
;		IRQ = 12
;		INIT = IOPORT(2) LOC(4 3) 10
;		INIT = JUMPER(5)LOC(8-9) 10
;	    CHOICE = "IRQ 11"
;		FREE
;		IRQ = 11
;		INIT = IOPORT(2) LOC(4 3) 11
;		INIT = JUMPER(5)LOC(8-9) 11

     FUNCTION = "BIOS Memory Address"
	 SHOW = NO
	    CHOICE = "Disabled"
		FREE
		INIT = IOPORT(2) LOC(6 5) 01
		INIT = JUMPER(5)LOC(7-6) 10


    FUNCTION = "Fixed Disk Controller Operational Options"
	SHOW = NO
	HELP = "Use E)dit Change F)unction to Select Options."

	SUBFUNCTION = "Caching"
	    CHOICE = "Enabled"
		FREE
		INIT = IOPORT(3) LOC(1) 0
		INIT = JUMPER(5)LOC(5) 0

	SUBFUNCTION = "ECC Length"
	    CHOICE = "7-Byte ECC"
		FREE
		INIT = IOPORT(3) LOC(2) 1
		INIT = JUMPER(5)LOC(4) 1

	SUBFUNCTION = "Sector Per Track"
	    CHOICE = "From Drive"
		FREE
		INIT = IOPORT(3) LOC(3) 1
		INIT = JUMPER(5)LOC(3) 1

	SUBFUNCTION = "Translation Mode"
	    CHOICE = "Enabled"
		FREE
		INIT = IOPORT(3) LOC(4) 0
		INIT = JUMPER(5)LOC(2) 0

	SUBFUNCTION = "Alternate Sector"
	    CHOICE = "Enabled"
		FREE
		INIT = IOPORT(3) LOC(5) 1
		INIT = JUMPER(5)LOC(1) 1


    FUNCTION = "Floppy Disk Controller Options"
    HELP = "Use E)dit Change F)unction to Select Options."

	SUBFUNCTION = "Floppy IO Address"
	    CHOICE = "Primary (3F0H-3F7H)"
		FREE
		PORT = 3F0h-3F5h
		DMA = 2
		IRQ = 6
		INIT = IOPORT(4) LOC(4 2 1 0) 1111
		INIT = JUMPER(6) LOC(3 2 1) 000
;	    CHOICE = "Secondary (370H-377H)"
;		FREE
;		PORT = 370h-375h
;		PORT = 376h-377h
;		DMA = 3
;		IRQ = 6 	   ;IRQ10 NOT SUPPORT NOW.
;		INIT = IOPORT(4) LOC(4 2 1 0) 0001
;		INIT = JUMPER(6) LOC(3 2 1) 110
	    CHOICE = "Disabled"
		FREE
		INIT = IOPORT(4) LOC(2 0) 00
		INIT = JUMPER(6) LOC (1) 1

	SUBFUNCTION = "1.2 MByte Floppy Drive Speed"
	    CHOICE = "Single Speed"
 		FREE
		INIT = IOPORT(4) LOC(3) 1
		INIT = JUMPER(6) LOC(4) 0

ENDGROUP


GROUP = ""

    FUNCTION = "EISA Autoconfiguration"
	SHOW = NO
	CHOICE = "Enabled"
	    FREE
	    INIT = JUMPER(7) LOC(1) 1

    FUNCTION = "EISA Mode Select"
	SHOW = NO
	CHOICE = "Card enabled at all times"
	    FREE
	    INIT = JUMPER(4) LOC(1) 0

    FUNCTION = "1.44 MByte Floppy Drive Type"
	SHOW = NO
	CHOICE = "PC-AT type"
	    FREE
	    INIT = JUMPER(3) LOC(1) 0

    FUNCTION = "Floppy Drive Cable"
	SHOW = NO
	CHOICE = "Twisted"
	    FREE
	    INIT = JUMPER(2) LOC(1) 0

ENDGROUP

