home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / doc / graphdoc / weitek.txt < prev    next >
Text File  |  1994-01-18  |  2KB  |  108 lines

  1. Weitek
  2.  
  3.   W5086
  4.   W5186    512K
  5.   W5286    1MB
  6.  
  7.   Power 9000    Max 2MB. Not VGA compatible, but VGA chip can be added.
  8.   Power 9100    '94 version of 9000 with VGA part built in. can handle 4MB.
  9.  
  10.  
  11.  
  12.  
  13. W5x86:
  14.  
  15. 3C4h index  5  (W):  Control Register 0
  16.  
  17. 3C4h index  6  (W):  Control Register 1
  18.  
  19. 3C4h index 11h (R/W):  Misc
  20. bit   5  Clear to enable extensions
  21.       6  Clear to enable bank addressing
  22. Note to update this register first the it must be read and the value rewritten
  23.      twice, then the changed value can be written
  24.  
  25. 3C4h index 12h (R/W):  Output Control
  26. bit 5-6  3 for 640x480, 1 for 800x600, 0 else
  27.  
  28. 3C4h index 13h (R/W):  Memory Base
  29. bit 0-3  Base Memory address
  30.  
  31. 3CDh (R/W):  Bank Register
  32. bit 0-3  Write Bank
  33.     4-7  Read bank
  34.  
  35. 3CEh index 0Ch (W):  Extended Graphics
  36. bit   1  Clock select bit 2 (Bits 0-1 are in 3C2h/Ch bits 2-3).
  37.  
  38. 3CEh index 0Dh (R/W):
  39. bit 3-4  Display Start Address bit 16-17
  40.  
  41. 3d4h index 19h (R/W):  Interlace
  42.  
  43. 3d4h index 1Ah (R/W):  Serial Start High
  44.  
  45. 3d4h index 1Bh (R/W):  Serial Start Low
  46.  
  47. 3d4h index 1Ch (R/W):  Serial Offset
  48.  
  49.  
  50. ID Weitek VGA:
  51.  
  52.   old:=rdinx(SEQ,$11);
  53.   outp(SEQ+1,old);
  54.   outp(SEQ+1,old);
  55.   outp(SEQ+1,inp(SEQ+1) or $20);
  56.   if not testinx(SEQ,$12) then
  57.   begin
  58.     x:=rdinx(SEQ,$11);
  59.     outp(SEQ+1,old);
  60.     outp(SEQ+1,old);
  61.     outp(SEQ+1,inp(SEQ+1) and $DF);
  62.     if testinx(SEQ,$12) and tstrg($3CD,$FF) then
  63.     begin
  64.       _Weitek chip_
  65.     end;
  66.   end;
  67.   wrinx(SEQ,$11,old);
  68.  
  69.  
  70. Video Modes:
  71.  
  72. 0054h  T   132   43
  73. 0055h  T   132   25
  74. 0056h  T   132   43  4color
  75. 0057h  T   132   25  4color
  76. 0058h  G   800  600   16c  PL4
  77. 0059h  G   800  600   16c  PL4
  78. 005Ch  G   800  600  256c  P8
  79. 005Dh  G  1024  768   16c  PL4
  80. 005Eh  G  1024  768  256c  P8
  81. 005Fh  G   640  480  256c  P8
  82. 0064h  T   132   60
  83. 0065h  T   132   50
  84. 0066h  T   132   60   4c
  85. 0067h  T   132   50   4c
  86. 0068h  T    80   60
  87. 006Ah  G   800  600   16c  PL4
  88. 006Ch  G   640  480  32Kc  P15
  89. 006Dh  G   800  600  32Kc  P15
  90. 006Eh  G   640  480  64Kc  P16
  91. 006Fh  G   800  600  64Kc  P16
  92.  
  93.  
  94.  
  95. Power 9000:
  96.  
  97. 3CDh (R/W):  Bank Register:
  98. bit 0-4  Bank number
  99.       5  Set if addressing Video Memory, clear if addressing the memory mapped
  100.          registers.
  101. Note: 10h maps the memory mapped registers at A000h, 20h-3Fh maps the 
  102.       Video Memory at A000h
  103.  
  104.  
  105. 4386-9h  DAC
  106. 8386-9h  DAC
  107. C386-9h  DAC
  108.