;  ATI Graphics Ultra EISA Video Accelerator
;
;  (C)Copyright ATI Technologies Inc., 1992, 1993, 1994
;     All Rights Reserved.
;
;    3/3/94 v1.10 - moved C000-C7FFF to end of address list.


;---------------------------------------------------------------------------
;                               GRAPHICS ULTRA EISA
;--------------------------------------------------------------------------- 
 
BOARD
  ID = "ATI4400"
  NAME = "GRAPHICS ULTRA EISA Video Accelerator Card"
  MFR = "ATI Technologies Inc."
  CATEGORY = "VID"
  SLOT = EISA
  LENGTH = 205                            ;HEIGHT=125
  AMPERAGE = 1500
  READID = YES
  IOCHECK = INVALID
  DISABLE = SUPPORTED
  COMMENTS = "Combines Super VGA with a high speed Graphics Engine"
  HELP = "For additional setup options, run the INSTALL program provided with the card.
          Review and follow the recommendations of the SOFTWARE statements to
	  ensure proper configuration of the card."

IOPORT(1) = 0zC85h
  SIZE = BYTE
  INITVAL = LOC(7-0) 1xxxxxxx

SWITCH(1) = 8
  NAME = "SW1"
  STYPE = DIP
  INITVAL = LOC(8-1) xxxxxxxx
  FACTORY = LOC(8-1) 00000000
  COMMENTS = "Switch 8 disables the VGA.
	Switch 7 disables the onboard ROM.
	Switches 6-1 provide address bits 17-12
	for the ROM decode when VGA is disabled."
  HELP = "Setting a switch to the ON (down) position
	will disable the function, or in the case of
	an address bit, set the corresponding bit to 0."

JUMPER(1) = 4
  NAME = "JU11"
  JTYPE = PAIRED
  VERTICAL = YES
  LABEL = LOC(4 3 2 1) "IRQ2" "IRQ3" "IRQ5" "IRQ10"
  INITVAL = LOC(4 3 2 1) xxxx
  FACTORY = LOC(4 3 2 1) 0000
  COMMENTS = "Selects IRQ line.  Only one jumper can be installed."
  HELP = " To select a IRQ line, place shorting plug across jumper."

SOFTWARE(1) = "Please run INSTALL APMAP and ensure that the Memory Aperture is set to: "
;SOFTWARE(2) = "Please run the INSTALL program and ensure that the Mouse parameters are set to: "


;--------------------------------------
;   VIDEO FUNCTION
;--------------------------------------

GROUP = "Video"
FUNCTION = "Video Graphics Adaptor"
  TYPE = "VID"
  COMMENTS = "Provides Super VGA features.
	      NOTE: This option may require a change to a jumper or switch
	      setting, check the jumper and switch settings display."
  HELP = "Use INSTALL program to configure video modes.
	  If disabling the VGA, ensure a second display adaptor is
	  installed in the system to act as the Primary display."
  CONNECTION = "TOP DB15"

  CHOICE = "VGA Enabled"
    FREE
;       VGA ports
;	                    0102h
;		                        03B4h 03B5h 03B8h 03B9h 03BAh                         03BFh
;		                        03D4h 03D5h 03D8h       03DAh
;		03C0h 03C1h 03C2h 03C3h 03C4h 03C5h             03CAh       03CCh       03CEh 03CFh
;	                                                  03D9h	      03DBh 03DCh 03DDh	03DEh
	PORT = 0102h 
	SHARE = NO
	SIZE = BYTE

	PORT = 03B4h-03B5h
	SHARE = NO
	SIZE = BYTE

	PORT = 03B8h-03BAh
	SHARE = NO
	SIZE = BYTE

	PORT = 03BFh
	SHARE = NO
	SIZE = BYTE

	PORT = 03D4h-03D5h
	SHARE = NO
	SIZE = BYTE

	PORT = 03D8h
	SHARE = NO
	SIZE = BYTE

	PORT = 03DAh
	SHARE = NO
	SIZE = BYTE

	PORT = 03C0h-03C5h
	SHARE = NO
	SIZE = BYTE

	PORT = 03CAh
	SHARE = NO
	SIZE = BYTE

	PORT = 03CCh
	SHARE = NO
	SIZE = BYTE

	PORT = 03CEh-03CFh
	SHARE = NO
	SIZE = BYTE

	PORT = 03D9h
	SHARE = NO
	SIZE = BYTE

	PORT = 03DBh-03DEh
	SHARE = NO
	SIZE = BYTE

;	BIOS ROM
	MEMORY = 32K
	ADDRESS = 0C0000h
	WRITABLE = NO
	MEMTYPE = OTH
	SIZE = WORD
	CACHE = YES
	SHARE = NO

;	VIDEO RAM (COLOUR)
	MEMORY = 64K
	ADDRESS = 0A0000h
	WRITABLE = YES
	MEMTYPE = OTH
	SIZE = WORD
	CACHE = NO
	SHARE = NO

;	VIDEO RAM (MONOCHROME)
	MEMORY = 32K
	ADDRESS = 0B8000h
	WRITABLE = YES
	MEMTYPE = OTH
	SIZE = WORD
	CACHE = NO
	SHARE = NO

	INIT = IOPORT(1) LOC(6-0) 0000000
	INIT = SWITCH(1) LOC(8-1) 00000000

  CHOICE = "VGA Disabled/Graphics Engine only"
    DISABLE = YES

    LINK
;	BIOS ROM
;  (SHOULD RESTRICT ADDRESS TO C0000h-EFFFFh range?)
	MEMORY = 4K
	ADDRESS = 0C8000h | 0C9000h | 0CA000h | 0CB000h | 
	          0CC000h | 0CD000h | 0CE000h | 0CF000h |
	          0D0000h | 0D1000h | 0D2000h | 0D3000h | 
	          0D4000h | 0D5000h | 0D6000h | 0D7000h |
	          0D8000h | 0D9000h | 0DA000h | 0DB000h | 
	          0DC000h | 0DD000h | 0DE000h | 0DF000h |
	          0E0000h | 0E1000h | 0E2000h | 0E3000h | 
	          0E4000h | 0E5000h | 0E6000h | 0E7000h |
	          0E8000h | 0E9000h | 0EA000h | 0EB000h | 
	          0EC000h | 0ED000h | 0EE000h | 0EF000h |
	          0F0000h | 0F1000h | 0F2000h | 0F3000h | 
	          0F4000h | 0F5000h | 0F6000h | 0F7000h |
	          0F8000h | 0F9000h | 0FA000h | 0FB000h | 
	          0FC000h | 0FD000h | 0FE000h | 0FF000h |
		  0C0000h | 0C1000h | 0C2000h | 0C3000h |
	          0C4000h | 0C5000h | 0C6000h | 0C7000h
	WRITABLE = NO
	MEMTYPE = OTH
	SIZE = WORD
	CACHE = YES
	SHARE = NO
	INIT = IOPORT(1) LOC(6-0) 0010000 | 0010010 | 0010100 | 0010110 |
			          0011000 | 0011010 | 0011100 | 0011110 |
			          0100000 | 0100010 | 0100100 | 0100110 |
			          0101000 | 0101010 | 0101100 | 0101110 |
		       	          0110000 | 0110010 | 0110100 | 0110110 |
			          0111000 | 0111010 | 0111100 | 0111110 |
			          1000000 | 1000010 | 1000100 | 1000110 |
			          1001000 | 1001010 | 1001100 | 1001110 |
			          1010000 | 1010010 | 1010100 | 1010110 |
			          1011000 | 1011010 | 1011100 | 1011110 |
			          1100000 | 1100010 | 1100100 | 1100110 |
			          1101000 | 1101010 | 1101100 | 1101110 |
			          1110000 | 1110010 | 1110100 | 1110110 |
			          1111000 | 1111010 | 1111100 | 1111110 |
				  0000000 | 0000010 | 0000100 | 0000110 |
			          0001000 | 0001010 | 0001100 | 0001110
	INIT = SWITCH(1) LOC(8-1) 10110111 | 10110110 | 10110101 | 10110100 |
	                          10110011 | 10110010 | 10110001 | 10110000 |
	                          10101111 | 10101110 | 10101101 | 10101100 |
	                          10101011 | 10101010 | 10101001 | 10101000 |
	                          10100111 | 10100110 | 10100101 | 10100100 |
	                          10100011 | 10100010 | 10100001 | 10100000 |
	                          10011111 | 10011110 | 10011101 | 10011100 |
	                          10011011 | 10011010 | 10011001 | 10011000 |
	                          10010111 | 10010110 | 10010101 | 10010100 |
	                          10010011 | 10010010 | 10010001 | 10010000 |
	                          10001111 | 10001110 | 10001101 | 10001100 |
	                          10001011 | 10001010 | 10001001 | 10001000 |
	                          10000111 | 10000110 | 10000101 | 10000100 |
	                          10000011 | 10000010 | 10000001 | 10000000 |
				  10111111 | 10111110 | 10111101 | 10111100 |
	                          10111011 | 10111010 | 10111001 | 10111000
	

FUNCTION = "Graphics Engine"
  TYPE = "VID"
  COMMENTS = "Provides 8514 features"
  CONNECTION = "TOP DB15"
  HELP = "Use INSTALL program to configure video modes."

  CHOICE = "Graphics Engine"

  FREE
;       8514 ports
;		002EAh 002EBh 002ECh 002EDh
;		002E8h 006E8h 00AE8h 00EE8h
;		012E8h 016E8h 01AE8h 01EE8h
;		022E8h
;		042E8h 046E8h 04AE8h 
;               082E8h 086E8h 08AE8h 08EE8h
;		092E8h 096E8h 09AE8h 09EE8h
;		0A2E8h 0A6E8h 0AAE8h 0AEE8h
;               0B2E8h 0B6E8h 0BAE8h 0BEE8h
;		0E2E8h
;
;       ATI Extended ports
;		002EEh 006EEh 00AEEh 00EEEh
;		012EEh 016EEh 01AEEh 01EEEh
;		022EEh 026EEh 02AEEh 02EEEh
;		032EEh 036EEh 03AEEh 03EEEh
;		042EEh 046EEh 04AEEh 04EEEh
;		052EEh 056EEh 05AEEh 05EEEh
;               062EEh 066EEh 06AEEh 06EEEh
;		072EEh 076EEh 07AEEh 07EEEh
;		082EEh 086EEh 08AEEh 08EEEh
;               092EEh 096EEh 09AEEh 
;		0A2EEh 0A6EEh 0AAEEh 0AEEEh
;		0B2EEh 0B6EEh 0BAEEh 0BEEEh
;		0C2EEh 0C6EEh 0CAEEh 0CEEEh
;		0D2EEh 0D6EEh 0DAEEh 0DEEEh
;		0E2EEh 0E6EEh 0EAEEh 0EEEEh
;		       0F6EEh        0FEEEh

	PORT = 002EAh-002EDh 
	SHARE = NO
	SIZE = BYTE

	PORT = 002E8h 
	SHARE = NO
	SIZE = WORD

	PORT = 006E8h 
	SHARE = NO
	SIZE = WORD

	PORT = 00AE8h 
	SHARE = NO
	SIZE = WORD

	PORT = 00EE8h 
	SHARE = NO
	SIZE = WORD

	PORT = 012E8h
	SHARE = NO
	SIZE = WORD

	PORT = 016E8h
	SHARE = NO
	SIZE = WORD

	PORT = 01AE8h 
	SHARE = NO
	SIZE = WORD

	PORT = 01EE8h 
	SHARE = NO
	SIZE = WORD

	PORT = 002EEh 
	SHARE = NO
	SIZE = WORD

	PORT = 006EEh 
	SHARE = NO
	SIZE = WORD

	PORT = 00AEEh 
	SHARE = NO
	SIZE = WORD

	PORT = 00EEEh 
	SHARE = NO
	SIZE = WORD

	PORT = 012EEh 
	SHARE = NO
	SIZE = WORD

	PORT = 016EEh 
	SHARE = NO
	SIZE = WORD

	PORT = 01AEEh 
	SHARE = NO
	SIZE = WORD

	PORT = 01EEEh 
	SHARE = NO
	SIZE = WORD

FUNCTION = "Graphics Engine Memory Aperture"
  TYPE = "VID"
  COMMENTS = "NOTE: The user must run the INSTALL program with the
              APMAP parameter in order for these settings to take effect."
  HELP = "Use the INSTALL program with the APMAP parameter to configure
          the Memory Aperture address.
          Review Software statements for recommended settings."

  CHOICE = "Aperture Enabled"

  COMBINE
;	MEMORY APERTURE (can't differentiate size, so assume 4M)
	MEMORY = 4M
	ADDRESS = 0M-127M STEP = 4M
	WRITABLE = YES
	MEMTYPE = OTH
	SIZE = WORD
	CACHE = NO
	SHARE = NO
	INIT = SOFTWARE(1) "Address=0M."   | "Address=4M."   | "Address=8M."   | "Address=12M."  |
	                   "Address=16M."  | "Address=20M."  | "Address=24M."  | "Address=28M."  |
	                   "Address=32M."  | "Address=36M."  | "Address=40M."  | "Address=44M."  |
	                   "Address=48M."  | "Address=52M."  | "Address=56M."  | "Address=60M."  |
	                   "Address=64M."  | "Address=68M."  | "Address=72M."  | "Address=76M."  |
	                   "Address=80M."  | "Address=84M."  | "Address=88M."  | "Address=92M."  |
	                   "Address=96M."  | "Address=100M." | "Address=104M." | "Address=108M." |
	                   "Address=112M." | "Address=116M." | "Address=120M." | "Address=124M." 

  CHOICE = "Aperture Disabled"
    DISABLE = YES
    FREE
	INIT = SOFTWARE(1) "DISABLED."


FUNCTION = "Video Interrupt"
  TYPE = "VID"
  COMMENTS = "NOTE: This option may require a change to a jumper setting,
	      check the jumper settings display."

  CHOICE = "Video IRQ Disabled"
    DISABLE = YES
    FREE
	INIT = JUMPER(1) LOC(4 3 2 1) 0000

  CHOICE = "Video IRQ Enabled"

    LINK
	IRQ = 10 | 5 | 3 | 2
	SHARE = NO
	TRIGGER = EDGE
	INIT = JUMPER(1) LOC(4 3 2 1) 0001 | 0010 | 0100 | 1000

ENDGROUP

;--------------------------------------
;   MOUSE FUNCTION - No mouse chip installed yet
;--------------------------------------
;
;FUNCTION = "InPORT Mouse"
;  TYPE = "PTR"
;  COMMENTS = "Supports both 2 button and 3 button mouse.
;	      NOTE: The user must run the INSTALL program in order for
;	      these settings to take effect."
;  HELP = "Use INSTALL program to configure Mouse address and interrupt.
;          Review SOFTWARE statements for recommended settings."
;  CONNECTION = "BOTTOM DIN 9"
;
;  CHOICE = "Mouse Enabled"
;    AMPERAGE = 1
;
;    COMBINE
;	PORT = 23Ch-23Fh | 238h-23Bh 
;	SHARE = NO
;	SIZE = BYTE
;
;	IRQ = 2 | 3 | 4 | 5
;	SHARE = NO
;	TRIGGER = EDGE
;
;	INIT = SOFTWARE(2) "PRIMARY, IRQ 2." | "PRIMARY, IRQ 3." | "PRIMARY, IRQ4." | "PRIMARY, IRQ5." |
;	                   "SECONDARY, IRQ 2." | "SECONDARY, IRQ 3." | "SECONDARY, IRQ4." | "SECONDARY, IRQ5."
;
;  CHOICE = "Mouse Disabled"
;    DISABLE = YES
;    FREE
;	INIT = SOFTWARE(2) "DISABLED."

;end of board
