home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Enter 1999 January
/
enter_01_1999_2.iso
/
BIOS
/
ctchip34
/
OPTI495.CFG
< prev
next >
Wrap
Text File
|
1994-03-11
|
9KB
|
278 lines
;************** OPTi 486SXWB: 82C495(SLC) , 82C392 *******************
; entspricht weitgehend OPTI 493
;******************** Datei OPTI495.CFG ***************************
INDEXPORT=22H ;OPTI-Adressen
DATENPORT=24H
;******************************************************************
INDEX=20H ;Controll-Register 1
;******************************************************************
BIT=76 ;Revision of 82C495
BIT=5 ;Burst Waitstate-Control
0=\L2 read hit = 3-1-1-1 or 2-1-1-1
1=\L2 read hit = 3-2-2-2 or 2-2-2-2
BIT=4 ;0/1 (495SLC) Turbo Mode Enable
; (495SX) ATCLK Source (refer to index 25h Bits1,0
0= CLK (/3,4,5,6)
1= CLK2(/3,4,5,6)
; (493) Cache memory data buffer output
0=disable: muß sein für <= 33 MHz
1=enable : muß sein für = 33 MHz
BIT=3 ;0/1 Single ALE
BIT=2 ;0/1 493,495SX Extra AT Cycle Waitstate
; 495SLC Reserved
Bit=1 ;0/1 Emulation Keyboard Reset Control
Bit=0 ;0/1 (493,495SX) Fast Reset
;0/1 (495SLC) Cyrix Mode
Index=21H ;Control Register 2
;******************************************************************
BIT=7 ;0/1 (493,495SX) Master Mode Byte Swap Enable
; (495) Reserved
Bit=6 ; (493) Emulation Keyboard Reset Delay Control
0=Generate Reset Puls 2µs later
1=Generate reset pulse immediately
; (495SX, 495SLC) Cache Write 2 Wait States Control
1= 2 wait states bit 1 of index Register 21h will be ignored
0= either 0 or 1 wait state, refer to Bit 1 of index 21h
Bit=5 ;1/0 Parity Check
Bit=4 ;Cache Enable
0=Cache is disabled + DRAM-Burst enabled
1=Cache is enabled + DRAM Burst disabled
Bit=32 ;Cachesize
00= 64KB
01= 128KB
10= 256KB
11= 512KB
Bit=1 ;(493) Secondary Cache Read Burst Cycles Control
0=\3-1-1-1 Cycle
1=\2-1-1-1 Cycle
;(495SX,495SLC) Cache Write 0/1 Wait State Control
; with bit 6 of index 21h = 0
0=1 wait state
1=0 wait states
Bit=0 ;(493)Cache Write State Control
0= 1 Waitstate
1= 0 Waitstate
;(495SX,495SLC)Cache Read Wait State Control
0=3-1-1-1
1=2-1-1-1
Index=22H ;Shadow RAM Control Register 1
;******************************************************************
Bit=7 ;ROM-Enable
1= Read from ROM, Write to DRAM
0= R/W on DRAM, DRAM is write protected
Bit=6 ;Shadow RAM at D000h-DFFFh
0=Disable RAM
1=Enable RAM
Bit=5 ;Shadow RAM at E000h-EFFFh
0=Disable RAM, enable ROMCS on XD-Bus
1=Enable RAM
Bit=4 ;0/1 Shadow RAM at D000h-DFFFh Write Protection
Bit=3 ;0/1 Shadow RAM at E000h-EFFFh
Bit=2 ;Hidden Refresh
1=Disable (muß bei 493 bei 4x1M or 1Mx4 Bit DRAMs)
0=Enable
Bit=1 ;unused
Bit=0 ;0/1 (493,495SX) Slow Refresh Enable (1/4 Refresh Takt)
; (495SLC) reserverd
Index=23H ;Shadow RAM Control Register II
;******************************************************************
Bit=7 ;0/1 Shadow RAM at EC00h-EFFFh
Bit=6 ;0/1 Shadow RAM at E800h-EBFFh
Bit=5 ;0/1 Shadow RAM at E400h-E7FFh
Bit=4 ;0/1 Shadow RAM at E000h-E3FFh
Bit=3 ;0/1 Shadow RAM at DC00h-DFFFh
Bit=2 ;0/1 Shadow RAM at D800h-DBFFh
Bit=1 ;0/1 Shadow RAM at D400h-D7FFh
Bit=0 ;0/1 Shadow RAM at D000h-D3FFh
INDEX=24H ;Index Control Register 1
;******************************************************************
Bit=7654 ;DRAM Typ Bank 0/1
0000=B0:256K B1:-
0001=B0:256K B1:256K
0010=B0:256K B1:1M
0011=B0: - B1: -
01xx=B0: - B1: -
1000=B0:1M B1: -
1001=B0:1M B1:1M
1010=B0:1M B1:4M
1011=B0:4M B1:1M
1100=B0:4M B1: -
1101=B0:4M B1:4M
111x=B0: - B1: -
Bit=3 ;unused
Bit=210 ;DRAM Typ Bank 2/3
000=B2:1M B3:-
001=B2:1M B3:1M
010=B2: - B3: -
011=B2:4M B3:1M
100=B2:4M B3: -
101=B2:4M B3:4M
11X=B2: - B3: -
Index=25H ;DRAM Control Register II
;******************************************************************
Bit=76 ;Additional Read Cycle Wait States 3+
00= Not used
01= 0 Waits
10= 1 Waits
11= 2 Waits
Bit=54 ;Additional Write Cycle Wait States 2+
00= 0 Waits
01= 1 Waits
10= 2 Waits
11= 3 Waits
Bit=3 ;Fast Decode Enable (für 20/25 Systeme ohne L2)
0=Disable (muss falls Cache an)
1=Enable (Base Waits r:2, w:1)
Bit=2 ;unused
Bit=10 ;ALCLK-Selection
00=CLK/6
01=CLK/4
10=CLK/3
11=CLK/2.5 (493)
11=CLK/5 (495SX,495SLC)
INDEX=26H ; Shadow RAM Control Register III
;****************************************************************
BIT=7 ; (493) unused
;0/1 (495SLC) Fast AT-Cycle
BIT=6 ; Shadow RAM Copy enable for address area C0000h-EFFFFh
0=Read/write at AT-Bus
1=Read from AT-Bus, Write into Shadow RAM
BIT=5 ;Shadow Write protect at address area C0000h-CFFFFh
0=Disabled
1=Enabled
BIT=4 ;0/1 Shadow RAM at C0000h-CFFFFFh
BIT=3 ;0/1 Shadow RAM at CC000h-CFFFFFh
BIT=2 ;0/1 Shadow RAM at C8000h-CBFFFFh
BIT=1 ;0/1 Shadow RAM at C4000h-C7FFFFh
BIT=0 ;0/1 Shadow RAM at C0000h-C3FFFFh
INDEX=27H ; Control Register 3
;****************************************************************
BIT=7 ; Cacheable Function
0=DRAM Cacheable controlled by Bit 3-0
1=all DRAM are NON-cacheable
BIT=6 ; (493) Unused
BIT=5 ;1/0 (495SX,495SLC) Back-to-Back-I/O Cycle
BIT=4 ; VIDEO BIOS at C0000h-C8000h area non-cacheable
0=Cacheable
1=Non-Cacheable
BIT=3210 ; Cacheable Address-Range
; 32K-Cache: 8MB, 64K-Cache: 16MB,
; 128K-Cache:32MB, 256K-Cache: 64MB
0000=0..64MB
0001=0.. 4MB
0010=0.. 8MB
0011=0..12MB
0100=0..16MB
0101=0..20MB
0110=0..24MB
0111=0..28MB
1000=0..32MB
1001=0..36MB
1010=0..40MB
1011=0..44MB
1100=0..48MB
1101=0..52MB
1110=0..56MB
1111=0..60MB
INDEX=28H ; Non-Cacheable Block 1 Register I
;****************************************************************
BIT=765 ; Size of Non-cacheable Memory Block 1
000=64K
001=128K
010=256K
011=512K
1xx=Disabled
BIT=432 ; Unused
BIT=10 ;Address-Bits of non Cacheable Memory Block 1
xx=A25..A24
INDEX=29H ; Non-Cacheable Block 1 Register II
;****************************************************************
BIT=76543210 ; Address-Bits of non Cacheable Memory Block 1
xxxxxxxx=A23..A16
INDEX=2AH ; Non-Cacheable Block 2 Register I
;****************************************************************
BIT=765 ; Size of Non-cacheable Memory Block 1
000=64K
001=128K
010=256K
011=512K
1xx=Disabled
BIT=432 ; Unused
BIT=10 ;A25..A24 Address-Bits of non Cacheable Memory Block 1
INDEX=2BH ; Non-Cacheable Block 2 Register II
;****************************************************************
BIT=76543210 ; A23..A16 of non Cacheable Memory Block 1