home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Enter 1999 January / enter_01_1999_2.iso / BIOS / ctchip34 / SATURN.CFG < prev    next >
Text File  |  1996-09-05  |  15KB  |  390 lines

  1. ;**********************************************************
  2. NAME=82420ZX; (Saturn)
  3. ;**********************************************************
  4. INDEXPORT=0CF8h                    ;; CONFADDR
  5. DATENPORT=0CFCh                    ;; CONFDATA
  6. MODE=DIRECT
  7. ConfigAccess=2
  8. MACRO OPEN=0CF8h:11110000,0CFAh:00000000
  9. MACRO CLOSE=0CF8h:00000000,0CFAh:00000000
  10. BASEADR=C000h
  11.  
  12. *IF 0:==$FFFF
  13.    WRITELN "CONFIGAccess 2 nicht implementiert"
  14. *ENDIF
  15.  
  16. ;; Konditionen für IF-Abfragen (VerANDed)
  17. MACRO INTEL  = 0:==$8086
  18. MACRO Saturn = INTEL, 2:==$0483
  19.  
  20. *IF Saturn
  21.     WRITELN "Intel Saturn 82420ZX"
  22.  *ELSE
  23.     WRITELN "Chip nicht identifiziert"
  24.     Exit
  25. *ENDIF
  26.  
  27. MACRO FREEZE= Flush,50h:xxxxx0xx
  28. MACRO CacheOFF = Freeze, WBINVD
  29. MACRO CacheON  = Flush,50h:xxxxx1xx, Flush,50h:xxxxx1xx
  30. MACRO L1OFF = Cacheoff, CDNW:=11, WBINVD,    CacheON  ;; Bits CD und NW in CR0 auf 1
  31. MACRO L1ON  = Cacheoff, CDNW:=00, WBINVD,    CacheON  ;; Bits CD und NW in CR0 auf 1
  32. MACRO L2OFF = Cacheoff, FLUSH, 52h:xxxxxxx0, CacheON
  33. MACRO L2ON  = Cacheoff, FLUSH, 52h:xxxxxxx1, CacheON
  34. MACRO L2WB  = Cacheoff, FLUSH, 52h:xxxxxx11, CacheON  ;;
  35. MACRO L2WT  = Cacheoff, FLUSH, 52h:xxxxxx01, CacheON
  36.  
  37. Let rwc   = x111     ;; read write Cacheable
  38. Let rwn   = x011     ;; read write not Cacheable
  39. Let won   = x010     ;; Write only not Cacheable
  40. Let roc   = x101     ;; Read only, cacheable
  41. Let ron   = x001     ;; Read only not Cacheable
  42. Let bus   = x000     ;; Read/Write to PCI Bus
  43.  
  44. MACRO SF0  = Cacheoff, 59h:#1#xxxx, Cacheon
  45.  
  46. MACRO sC0  = Cacheoff, 5Ah:xxxx#1#, Cacheon
  47. MACRO sC4  = Cacheoff, 5Ah:#1#xxxx, Cacheon
  48. MACRO sC8  = Cacheoff, 5Bh:xxxx#1#, Cacheon
  49. MACRO sCC  = Cacheoff, 5Bh:#1#xxxx, Cacheon
  50.  
  51. MACRO sD0  = Cacheoff, 5Ch:xxxx#1#, Cacheon
  52. MACRO sD4  = Cacheoff, 5Ch:#1#xxxx, Cacheon
  53. MACRO sD8  = Cacheoff, 5Dh:xxxx#1#, Cacheon
  54. MACRO sDC  = Cacheoff, 5Dh:#1#xxxx, Cacheon
  55.  
  56. MACRO sE0  = Cacheoff, 5Eh:xxxx#1#, Cacheon
  57. MACRO sE4  = Cacheoff, 5Eh:#1#xxxx, Cacheon
  58. MACRO sE8  = Cacheoff, 5Fh:xxxx#1#, Cacheon
  59. MACRO sEC  = Cacheoff, 5Fh:#1#xxxx, Cacheon
  60.  
  61.  
  62.  
  63. ;**********************************************************
  64. INDEX16=0  ; VID  PCI Vendor Identification r/o
  65. ;**********************************************************
  66. BIT=15..00 ; Vendor Identification
  67.            $8086=     INTEL
  68.            else =     other Vendor
  69.  
  70. ;**********************************************************
  71. INDEX16=2  ;DID   PCI Divice Identification r/o
  72. ;**********************************************************
  73. BIT=15..00 ; Device Identification
  74.            $0483=    Saturn
  75.            else=     unknown
  76.  
  77. ;**********************************************************
  78. INDEX16=4  ; PCICMD PCI Command Register r/w
  79. ;**********************************************************
  80. BIT=15..09 ; Reserved
  81. BIT=08     ;0/1 SERRE
  82. BIT=06     ;0/1 Parity Error  (Master Enable)
  83. BIT=02     ;0/1 Bus Master Operations
  84. BIT=01     ;0/1 Memory Access
  85. BIT=00     ;0/1 I/O-Access
  86.  
  87. ;**********************************************************
  88. INDEX16=6h ; PCISTS PCI Status Register (r/w)
  89. ;**********************************************************
  90. BIT=15     ;reserved
  91. BIT=14     ;Signaled System Error
  92. BIT=13     ;Received Master Abort Status
  93. BIT=12     ;Received Target Abort Status
  94. BIT=11     ;reserved
  95. BIT=10,09  ;DevSel
  96.             00=FAST
  97.             01=Medium
  98.             10=SLOW
  99.             11=reserved
  100. BIT=08     ;Data Parity
  101.             0= not detected
  102.             1= detected
  103.  
  104. ;**********************************************************
  105. INDEX=8    ;RID Revision IDentification Register r/o
  106. ;**********************************************************
  107. BIT=7..0   ;PCI Cache/Memory-Controller
  108.  
  109. ;**********************************************************
  110. INDEX=9    ;RLPI Register-Level Programming Interface r/o
  111. ;**********************************************************
  112. BIT=7..0
  113.            00=no register-level Programming Interface
  114. ;**********************************************************
  115. INDEX=0Ah  ;SUBC Sub-Class-Code r/o
  116. ;**********************************************************
  117. BIT=7..0
  118.            00=PCMC is host Bridge
  119.  
  120. ;**********************************************************
  121. INDEX=0Bh  ;BASEC Base Class Code r/o
  122. ;**********************************************************
  123. BIT=7..0
  124.            $06=PCMC is Bridge Device
  125.  
  126. ;**********************************************************
  127. INDEX=0Dh  ; MLT Master Latency Timer Register r/w
  128. ;**********************************************************
  129. BIT=7654   ;Master Latency Timer, bus clocks = 16 x this value
  130.  
  131. ;**********************************************************
  132. INDEX=0Fh  ;BIST BIST-Register r/o
  133. ;**********************************************************
  134. BIT=7      ;0/1 BIST (ro), not supported by 82434LX/NX
  135. BIT=6      ;Start BIST (r/w), not supported by 82434LX/NX
  136. BIT=3..0   ;Completion Code (ro)
  137.  
  138. ;**********************************************************
  139. INDEX=50h  ;HCS HOST CPU Selection Register r/o, r/w
  140. ;**********************************************************
  141. BIT=765    ;Host CPU Type
  142.            000=Intel486 DX
  143.            001=Intel486 SX
  144.            010=Intel486 DX2, DX4
  145.            100= DX2 -WB
  146.            else Reserved
  147.  
  148.  
  149. BIT=2      ;L1-Cache
  150.            0=L1-Freeze, #KEN always high
  151.            1=#KEN aktiv,
  152.  
  153. BIT=10     ;Host Operating Frequency
  154.            00= 25 MHz
  155.            01= 33 MHz
  156.            else Reserved
  157.  
  158. ;**********************************************************
  159. INDEX=51h  ;DFC Deturbo Frequency Control Register  r/w
  160. ;**********************************************************
  161. BIT=76543210 ;Deturbo Mode Frequency Adjustment Value
  162.  
  163. ;**********************************************************
  164. INDEX=52h  ;SCC L2-Cache Control Register  r/w
  165. ;**********************************************************
  166. BIT=76     ;L2-Cachesize
  167.            00=64 KBytes
  168.            01=128 KBytes
  169.            10=256 KBytes
  170.            11=512 KBytes
  171. BIT=5      ;L1 Cache present
  172.            0= No L1-Cache
  173.            1= L1-Cache present
  174. BIT=43     ;Tag Address Width
  175.            10 = 7 Bit
  176.            00 = 8 Bit
  177.            01 = 9 Bit
  178.            11 = reserved
  179. BIT=2      ;L2 Cache Lead Off Cycle
  180.            0= 3-1-1-1 (read)  3 (Write)
  181.            1= 2-1-1-1 (read)  2 (Write)
  182.  
  183. BIT=1      ;L2 Write Policy
  184.            0=Write Through
  185.            1=Write Back
  186.  
  187. BIT=0      ;0/1 L2-Cache
  188.  
  189. ;**********************************************************
  190. INDEX=53h  ;HBC Host Read/Write Buffer Control r/w
  191. ;**********************************************************
  192. BIT=7..2   ;Reserved
  193. BIT=1      ;0/1 Host-to-PCI Posting
  194. BIT=0      ;0/1 Host-to-Memory Posting
  195.  
  196. ;**********************************************************
  197. INDEX=54h  ;PBC PCI Read/Write Buffer Control Register
  198. ;**********************************************************
  199. BIT=7..2   ;Reserved
  200. BIT=1      ;0/1 CPU to PCI Burst Write
  201. BIT=0      ;0/1 PCI to Memory Posting
  202.  
  203.  
  204. ;**********************************************************
  205. INDEX=55h  ;DRAM Operation Mode Register r/w
  206. ;**********************************************************
  207.  
  208. BIT=6      ;0/1 Fast Page Mode Data Read
  209. BIT=5      ;0/1 Pipeline Mode
  210. BIT=3      ;1/0 DRAM-Refresh
  211. BIT=1      ;0/1 Fast Page Mode Code Read
  212. BIT=0      ;0/1 Fast Page Mode Write
  213.  
  214. ;**********************************************************
  215. INDEX=56h  ;System Exception Handling Register r/w
  216. ;**********************************************************
  217.  
  218. BIT=6      ;Target Abort Status
  219. BIT=5      ;Cache Parity Error
  220. BIT=4      ;Memory Parity Error
  221. BIT=3      ;Reserved
  222. BIT=2      ;0/1 Target Abort Error
  223. BIT=1      ;0/1 Cache Parity Error
  224. BIT=0      ;0/1 Memory Parity error
  225.  
  226.  
  227.  
  228. ;**********************************************************
  229. INDEX=59h  ;PAM0 Programmable Attribute Register 0 r/w
  230. ;**********************************************************
  231. BIT=7654   ; F0000h..FFFFFh,  64 KB
  232.             xx00= DRAM Disabled, Accesses directed to PCI
  233.             x001= Read Only DRAM Write Protected, Non-Cacheable
  234.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  235.             x010= Write Only
  236.             x011= Read/write,Non-Cacheable
  237.             x111= Read/write,Cacheable
  238. BIT=3210   ; 80000h..9FFFFh, 128 KB
  239.             xx00= DRAM Disabled, Accesses directed to PCI
  240.             x001= Read Only DRAM Write Protected, Non-Cacheable
  241.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  242.             x010= Write Only
  243.             x011= Read/write,Non-Cacheable
  244.             x111= Read/write,Cacheable
  245.  
  246. ;**********************************************************
  247. INDEX=5Ah  ;PAM1 Programmable Attribute Register 1 r/w
  248. ;**********************************************************
  249.  
  250. BIT=7654   ; C4000h..C7FFFh, 16 KB
  251.             xx00= DRAM Disabled, Accesses directed to PCI
  252.             x001= Read Only DRAM Write Protected, Non-Cacheable
  253.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  254.             x010= Write Only
  255.             x011= Read/write,Non-Cacheable
  256.             x111= Read/write,Cacheable
  257. BIT=3210   ; C0000h..C3FFFh, 16 KB
  258.             xx00= DRAM Disabled, Accesses directed to PCI
  259.             x001= Read Only DRAM Write Protected, Non-Cacheable
  260.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  261.             x010= Write Only
  262.             x011= Read/write,Non-Cacheable
  263.             x111= Read/write,Cacheable
  264.  
  265. ;**********************************************************
  266. INDEX=5Bh  ;PAM2 Programmable Attribute Register 2 r/w
  267. ;**********************************************************
  268. BIT=7654   ; CC000h..CFFFFh, 16 KB
  269.             xx00= DRAM Disabled, Accesses directed to PCI
  270.             x001= Read Only DRAM Write Protected, Non-Cacheable
  271.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  272.             x010= Write Only
  273.             x011= Read/write,Non-Cacheable
  274.             x111= Read/write,Cacheable
  275. BIT=3210   ; C8000h..CBFFFh, 16 KB
  276.             xx00= DRAM Disabled, Accesses directed to PCI
  277.             x001= Read Only DRAM Write Protected, Non-Cacheable
  278.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  279.             x010= Write Only
  280.             x011= Read/write,Non-Cacheable
  281.             x111= Read/write,Cacheable
  282.  
  283. ;**********************************************************
  284. INDEX=5Ch  ;PAM3 Programmable Attribute Register 3 r/w
  285. ;**********************************************************
  286. BIT=7654   ; D4000h..D7FFFh, 16 KB
  287.             xx00= DRAM Disabled, Accesses directed to PCI
  288.             x001= Read Only DRAM Write Protected, Non-Cacheable
  289.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  290.             x010= Write Only
  291.             x011= Read/write,Non-Cacheable
  292.             x111= Read/write,Cacheable
  293. BIT=3210   ; D0000h..D3FFFh, 16 KB
  294.             xx00= DRAM Disabled, Accesses directed to PCI
  295.             x001= Read Only DRAM Write Protected, Non-Cacheable
  296.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  297.             x010= Write Only
  298.             x011= Read/write,Non-Cacheable
  299.             x111= Read/write,Cacheable
  300.  
  301. ;**********************************************************
  302. INDEX=5Dh  ;PAM4 Programmable Attribute Register 4 r/w
  303. ;**********************************************************
  304. BIT=7654   ; DC000h..DFFFFh, 16 KB
  305.             xx00= DRAM Disabled, Accesses directed to PCI
  306.             x001= Read Only DRAM Write Protected, Non-Cacheable
  307.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  308.             x010= Write Only
  309.             x011= Read/write,Non-Cacheable
  310.             x111= Read/write,Cacheable
  311. BIT=3210   ; D8000h..DBFFFh, 16 KB
  312.             xx00= DRAM Disabled, Accesses directed to PCI
  313.             x001= Read Only DRAM Write Protected, Non-Cacheable
  314.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  315.             x010= Write Only
  316.             x011= Read/write,Non-Cacheable
  317.             x111= Read/write,Cacheable
  318.  
  319. ;**********************************************************
  320. INDEX=5Eh  ;PAM5 Programmable Attribute Register 5 r/w
  321. ;**********************************************************
  322. BIT=7654   ; E4000h..E7FFFh, 16 KB
  323.             xx00= DRAM Disabled, Accesses directed to PCI
  324.             x001= Read Only DRAM Write Protected, Non-Cacheable
  325.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  326.             x010= Write Only
  327.             x011= Read/write,Non-Cacheable
  328.             x111= Read/write,Cacheable
  329. BIT=3210   ; E0000h..E3FFFh, 16 KB
  330.             xx00= DRAM Disabled, Accesses directed to PCI
  331.             x001= Read Only DRAM Write Protected, Non-Cacheable
  332.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  333.             x010= Write Only
  334.             x011= Read/write,Non-Cacheable
  335.             x111= Read/write,Cacheable
  336.  
  337. ;**********************************************************
  338. INDEX=5Fh  ;PAM6 Programmable Attribute Register 6   r/w
  339. ;**********************************************************
  340. BIT=7654   ; EC000h..EFFFFh, 16 KB
  341.             xx00= DRAM Disabled, Accesses directed to PCI
  342.             x001= Read Only DRAM Write Protected, Non-Cacheable
  343.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  344.             x010= Write Only
  345.             x011= Read/write,Non-Cacheable
  346.             x111= Read/write,Cacheable
  347. BIT=3210   ; E8000h..EBFFFh, 16 KB
  348.             xx00= DRAM Disabled, Accesses directed to PCI
  349.             x001= Read Only DRAM Write Protected, Non-Cacheable
  350.             x101= Read Only, DRAM Write Protected, Cacheable for Code
  351.             x010= Write Only
  352.             x011= Read/write,Non-Cacheable
  353.             x111= Read/write,Cacheable
  354.  
  355. ;**********************************************************
  356. INDEX=60h  ; DRB0, DRAM Row Boundary Register r/w
  357. INDEX=61h  ; DRB1, DRAM Row Boundary Register r/w
  358. INDEX=62h  ; DRB2, DRAM Row Boundary Register r/w
  359. INDEX=63h  ; DRB3, DRAM Row Boundary Register r/w
  360.  
  361. ;**********************************************************
  362. INDEX16=68  ;Memory Hole 0 Register
  363. ;**********************************************************
  364. BIT=15     ;0/1 Memory Hole 0
  365. BIT=14..12 ;Memory Hole 0 Size
  366.             000=64  KByte
  367.             001=128 KByte
  368.             010=256 KByte
  369.             011=512 KByte
  370.             100=1 MByte
  371.             101=2 MByte
  372.             110=4 MByte
  373.             111=8 MByte
  374. BIT=10..00  ;Memory Hole-0-Address
  375.  
  376. ;**********************************************************
  377. INDEX16=6A  ;Memory Hole 1 Register
  378. ;**********************************************************
  379. BIT=15     ;0/1 Memory Hole 1
  380. BIT=14..12 ;Memory Hole 1 Size
  381.             000=64  KByte
  382.             001=128 KByte
  383.             010=256 KByte
  384.             011=512 KByte
  385.             100=1 MByte
  386.             101=2 MByte
  387.             110=4 MByte
  388.             111=8 MByte
  389. BIT=10..00  ;Memory Hole-1-Address
  390.