home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Enter 1999 January
/
enter_01_1999_2.iso
/
BIOS
/
ctchip34
/
VT82C495.CFG
< prev
Wrap
Text File
|
1996-09-06
|
13KB
|
342 lines
;************* VIA VT82C480 **************************************
; Based on VIA Technology Datasheets.
; Written by Jos Maas
; Chipset has VT82C481 ISA Bus Controller and VT82C495 Cache/DRAM Controller.
; Note that VT82C491 is EISA Bus Controller, compatible to work with VT82C495.
;******************************************************************
NAME=VT82C495
INDEXPORT=A8H ;
DATENPORT=A9H
MACRO=L2OFF = FLUSH , 50H:00xxxxxx
MACRO=L2ON = FLUSH , 50H:01xxxxxx, FLUSH , 50H:10xxxxxx
MACRO=ALLDIRTY = L2OFF , 50H:xx0xxxxx, L2ON
MACRO=NODIRTY = L2OFF , 50H:xx1xxxxx, L2ON
MACRO=BUSCLK8 = FLUSH , 11H:xxxx0xxx
MACRO=BUSCLK2 = BUSCLK8,11H:xxxxx001, FLUSH , 11H:xxxx1xxx
MACRO=BUSCLK3 = BUSCLK8,11H:xxxxx000, FLUSH , 11H:xxxx1xxx
MACRO=BUSCLK4 = BUSCLK8,11H:xxxxx010, FLUSH , 11H:xxxx1xxx
MACRO=BUSCLK5 = BUSCLK8,11H:xxxxx100, FLUSH , 11H:xxxx1xxx
MACRO=BUSCLK6 = BUSCLK8,11H:xxxxx011, FLUSH , 11H:xxxx1xxx
MACRO=BUSCLK10 = BUSCLK8,11H:xxxxx101, FLUSH , 11H:xxxx1xxx
MACRO=BUSCLK12 = BUSCLK8,11H:xxxxx110, FLUSH , 11H:xxxx1xxx
;******************************************************************
;ISA/EISA Bus Control
;******************************************************************
;******************************************************************
INDEX=00H ;Chip Revision ID ??? (All bits are read-only)
;******************************************************************
BIT=76543210 ;Read-only, Chip(set) ID (??)
00000001=VT82C481 - VT82C495
;******************************************************************
INDEX=01H ;Unknown
;******************************************************************
BIT=765 ;Unknown, defaults to 101 in Highscreen 486DX50
BIT=43210 ;Read-only, set to 00001
;******************************************************************
INDEX=02H ;Slow Counter
;******************************************************************
BIT=7 ;0/1 CPU slow mode (ISA only)
BIT=6543210 ;Hold pulse-width value
;******************************************************************
INDEX=03H ;ISA Bus Control 1
;******************************************************************
BIT=7 ;ISA Command Delay
0 = normal
1 = extended
BIT=6 ;ROM Wait State
0 = 1 Waits
1 = 0 Waits
BIT=5 ;ISA Wait State
0 = normal
1 = extended
BIT=4 ;Chipset Register Wait State
0 = normal
1 = extended
BIT=3 ;0/1 I/O Recovery Time
BIT=2 ;0/1 Extended ALE
BIT=1 ;Reserved, must be 0
BIT=0 ;0/1 De-coupled refresh
;******************************************************************
INDEX=04H ;ISA Bus Control 2
;******************************************************************
BIT=765 ;Reserved must be 0
BIT=4 ;0/1 Turbo Pin Function
BIT=3 ;Reserved, must be 0
BIT=2 ;0/1 Dallas 1387 support (EISA only)
BIT=1 ;System ID (EISA only)
0 = Write disable
1 = Write enable
BIT=0 ;0/1 EISA Burst Transfer
;******************************************************************
INDEX =10H ;Chip Control (read only)
;To select the 1 or 0 option, the corresponding bit
;of the XD bus is pulled up/down respectively with
;a 4K7 resistor. The presence of the 80387DX can be
;automatically detected through the ERROR pin.
;******************************************************************
BIT=7 ;80387DX Presence
0 = not present
1 = present
BIT=6 ;Weitek 4167/3167 Presence
0 = not present
1 = present
BIT=543 ;Reserved must be 0
BIT=2 ;Expansion Bus Type
0 = EISA
1 = ISA
BIT=1 ;Clock mode
0 = 1x
1 = 2x
BIT=0 ;CPU Type
0 = 80386DX
1 = 80486DX
;******************************************************************
INDEX=11H ;ISA/EISA Bus Clock
;******************************************************************
BIT=7 ;0/1 SA16 Reversal for Flash EPROMs
BIT=6 ;0/1 ROM Write for Flash EPROMs
BIT=54 ;Reserved, must be 0
BIT=3 ;BCLK2-Selection (ISA bus runs at half of BCLK2)
0=BCLK2=CLK2/4
BIT=210 ;BCLK2
000=CLK2/1.5
001=CLK2
010=CLK2/2
011=CLK2/3
100=CLK2/3.5
101=CLK2/5
110=CLK2/6
111=reserved
;******************************************************************
INDEX=20H ;DRAM Control
;******************************************************************
;******************************************************************
INDEX=20H ;Bank 0/1 Configuration
;******************************************************************
BIT=765 ;Bank 0 DRAM Type
000 = disable
001 = 256 Kbit DRAM
010 = 1 MBit DRAM
011 = 4 MBit DRAM
100 =16 MBit DRAM
BIT=4 ;0/1 DRAM Page Mode
BIT=321 ;Bank 1 DRAM Type
000 = disable
001 = 256 Kbit DRAM
010 = 1 MBit DRAM
011 = 4 MBit DRAM
100 =16 MBit DRAM
BIT=0 ;Reserved, must be 0
;******************************************************************
INDEX=21H ;Bank 2/3 Configuration
;******************************************************************
BIT=765 ;Bank 2/3 DRAM Type
000 = disable
001 = 256 Kbit DRAM
010 = 1 MBit DRAM
011 = 4 MBit DRAM
100 =16 MBit DRAM
BIT=4 ;Bank 3
0 = not present
1 = present
BIT=3 ;0/1 High Boot ROM
BIT=2 ;0/1 Middle Boot ROM
BIT=10 ;Reserved, must be 0
;******************************************************************
INDEX=22H ;DRAM-Timing
;******************************************************************
BIT=76 ;RAS Precharge width
00=1 CPU Cycle
01=2 CPU Cycles
10=3 CPU Cycles
11=4 CPU Cycles
BIT=54 ;RAS Pulse width
00=2 CPU Cycles
01=3 CPU Cycles
10=4 CPU Cycles
11=5 CPU Cycles
BIT=32 ;Read Cycle CAS pulse width
00=1 CPU Cycle
01=2 CPU Cycles
10=3 CPU Cycles
11=4 CPU Cycles
BIT=1 ;Write Cycle CAS pulse width
0=1 CPU Cycle
1=2 CPu Cycles
BIT=0 ; RAS to Column Address / Column Address to CAS
0=1 CLK2IN
1=2 CLK2IN
;******************************************************************
INDEX=30H ;Shadow Control 1
;******************************************************************
BIT=7 ; 0/1 CC000-CFFFF shadow area read
BIT=6 ; 0/1 CC000-CFFFF shadow area write
BIT=5 ; 0/1 C8000-CBFFF shadow area read
BIT=4 ; 0/1 C8000-CBFFF shadow area write
BIT=3 ; 0/1 C4000-C7FFF shadow area read
BIT=2 ; 0/1 C4000-C7FFF shadow area write
BIT=1 ; 0/1 C0000-C3FFF shadow area read
BIT=0 ; 0/1 C0000-C3FFF shadow area write
;******************************************************************
INDEX=31H ;Shadow Control 2
;******************************************************************
BIT=7 ; 0/1 DC000-DFFFF shadow area read
BIT=6 ; 0/1 DC000-DFFFF shadow area write
BIT=5 ; 0/1 D8000-DBFFF shadow area read
BIT=4 ; 0/1 D8000-DBFFF shadow area write
BIT=3 ; 0/1 D4000-D7FFF shadow area read
BIT=2 ; 0/1 D4000-D7FFF shadow area write
BIT=1 ; 0/1 D0000-D3FFF shadow area read
BIT=0 ; 0/1 D0000-D3FFF shadow area write
;******************************************************************
INDEX=32H ;Shadow Control 3
;******************************************************************
BIT=7 ; 0/1 E0000-EFFFF shadow area read
BIT=6 ; 0/1 E0000-EFFFF shadow area write
BIT=5 ; 0/1 F0000-FFFFF shadow area read
BIT=4 ; 0/1 F0000-FFFFF shadow area write
BIT=3210 ; Unknown
;******************************************************************
INDEX=33H ;ROM Decode and Relocation
;******************************************************************
BIT=7 ;C8000-CFFFF is decoded as
0 = ISA Bus cycle
1 = ROM cycle
BIT=6 ;C0000-C7FFF is decoded as
0 = ISA Bus cycle
1 = ROM cycle
BIT=5 ;E8000-EFFFF is decoded as
0 = ISA Bus cycle
1 = ROM cycle
BIT=4 ;E0000-E7FFF is decoded as
0 = ISA Bus cycle
1 = ROM cycle
BIT=32 ; 256K/384K relocation
00= no relocation
01= illegal
10= 256K relocation
11= 384K relocation
BIT=1,0 ;Reserved, must be 0
;******************************************************************
INDEX=40H ;Cache Control
;******************************************************************
;******************************************************************
INDEX=40H ;ROM Cacheable
;******************************************************************
BIT=7 ;C0000-C7FFF ROM is
0 = not cacheable
1 = cacheable and write protect
BIT=6 ;F0000-FFFFF ROM is
0 = not cacheable
1 = cacheable and write protect
BIT=5 ;E0000-EFFFF ROM is
0 = not cacheable
1 = cacheable and write protect
BIT=43210 ;Reserved, must be 0
;******************************************************************
INDEX=41H ;Non Cacheable Area Base Address
;******************************************************************
BIT=76543210 ;A26..A19
;******************************************************************
INDEX=42H ;Non Cacheable Area Base Address and Size
;******************************************************************
BIT=765 ;A18..A16
BIT=4 ;Reserved, must be 0
BIT=321 ;non-cacheable area size
000=disable
001=64K
010=128K
011=256K
100=512K
101=1M
110=2M
111=4M
BIT=0 ;Reserved, must be 0
;******************************************************************
INDEX=50H ;Cache Access Control
;******************************************************************
BIT=76 ;L2-Cache
00 = disable
01 = initial
10 = enable
11 = illegal
BIT=5 ;0/1 L2-Direct, always hit
BIT=4 ;Alter bit SRAM
0 = present
1 = not present
BIT=32 ;Cache Line Size
00= 4 Bytes
01= 8 Bytes
10=16 Bytes
11= 4 bytes
BIT=1 ;0/1 Burst Write
BIT=0 ;Reserved, must be 0
;******************************************************************
INDEX=51H ;Cache Timing
;******************************************************************
BIT=75 ; Read-Burst
00 = 2-1-1-1
01 = 2-2-2-2
10 = 3-1-1-1
11 = 3-2-2-2
BIT=64 ; Write-Burst
00 = 2-1-1-1
01 = 2-2-2-2
10 = 3-1-1-1
11 = 3-2-2-2
BIT=3 ;Cache Banks
0 = 1 Bank
1 = 2 Banks
BIT=210 ;Cache Size
000 =No Cache
001 =32K
010 =64K
011 =128K
100 =256K
101 =512K
110 =1M
111 =Illegal
;******************************************************************
INDEX=80H ;UNKNOWN
BIT=76543210 ;Read-only, Chip(set) ID (??)
10101001=VT82C481 - VT82C495
;******************************************************************