home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / v / vgalib12.tar / vgalib / support / tseng.doc < prev    next >
Text File  |  1993-01-21  |  8KB  |  220 lines

  1.     Tseng Super VGA
  2.  
  3.     ET3000-AX   512k 8/16 bit Main chip
  4.           -BX   512k  8 bit
  5.           -Bp   256k  8 bit  Basic chip
  6.     ET4000      1M 8/16 bit
  7.  
  8.  
  9.     Registers:
  10.  
  11.        102h: Microchannel Setup Control
  12.          bit 0  Disable Card if set
  13.  
  14.        3C0h index 16h: ATC Miscellaneous
  15.          (Write data to 3C0h, Read from 3C1h  (May not be needed))
  16.        bit 4,5  High resoloutionn timings.
  17.  
  18.        3C3h (R/W): Microchannel Video Subsystem Enable Register:
  19.          bit 0  Enable Microchannel VGA if set
  20.  
  21.        3C4h index  6  (R/W): Zoom Control   (ET3000 Only)
  22.        bit 0-2  Yzoom factor 0=1:1
  23.            4-6  Xzoom factor 0=1:1
  24.              7  Hardware zoom enabled if set
  25.  
  26.        3C4h index  7  (R/W): TS Auxiliary Mode
  27.          bit 0  (ET3000 Only) Switch Normal Window if set (Text/Graph)
  28.              1  (ET3000 Only) Switch Zoom Window if set (Text/Graph)
  29.              2  (ET3000 Only) Switch Split Window if set (Text/Graph)
  30.              4  (ET3000 Only) If set 8 simultaneous fonts are enabled,
  31.                               using bit 3,4,6 of each attribute byte
  32.                               to select the font.
  33.            3,5  Rom Bios Enable/Disable:
  34.                   0 0  C000-C3FF Enabled
  35.                   0 1  Rom disabled
  36.                   1 0  C000-C5FF,C680-C7FF Enabled
  37.                   1 1  C000-C7FF Enabled
  38.              6  MCLK/2 if set
  39.              7  VGA compatible if set EGA else.
  40.  
  41.        3CBh (R/W): PEL Address/Data
  42.   
  43.        3CDh (R/W): Segment Select
  44.        bit 0-2  (ET3000) 64k Write bank nr
  45.            3-5  (ET3000) 64k Read bank nr
  46.            6-7  (ET3000) Segment Configuration.
  47.                            0  128K segments
  48.                            1   64K segments
  49.                            2  1M linear memory
  50.            0-3  (ET4000) 64k Write bank nr (0..15)
  51.            4-7  (ET4000) 64k Read bank nr (0..15)
  52.  
  53.        3d4h index 1Bh (R/W): X Zoom Start Address       (ET3000 Only)
  54.        bit 0-7  Offset of Zoom window start in character clocks
  55.                 (8 pixels) from left edge
  56.  
  57.        3d4h index 1Ch (R/W): X Zoom End                 (ET3000 Only)
  58.        bit 0-7  Offset of Zoom window end in char clocks from left edge
  59.  
  60.        3d4h index 1Dh (R/W): Y Zoom Start Address       (ET3000 Only)
  61.        bit 0-7  Start line of zoom window bit 0-7
  62.  
  63.        3d4h index 1Eh (R/W): Y Zoom End Address         (ET3000 Only)
  64.        bit 0-7  (ET3000 Only) End line of zoom window bit 0-7
  65.  
  66.        3d4h index 1Fh (R/W): Y Zoom Start and End High  (ET3000 Only)
  67.        bit 0-2  End line of zoom window bit 8-10
  68.            3-5  Start line of zoom window bit 8-10
  69.  
  70.        3d4h index 20h (R/W): Zoom Start Address Low     (ET3000 Only)
  71.        bit 0-7  Zoom Start Address bit 0-7
  72.                 Adress of Zoom data
  73.  
  74.        3d4h index 21h (R/W): Zoom Start Address Middle  (ET3000 Only)
  75.        bit 0-7  Zoom Start Address bit 8-15
  76.  
  77.        3d4h index 23h (R/W): Extended start ET3000      (ET3000 Only)
  78.          bit 0  Cursor start adress bit 16
  79.              1  Display start adress bit 16
  80.              2  Zoom start adress bit 16
  81.  
  82.        3d4h index 24h (R/W): Compatability Control
  83.          bit 0  Enable Clock Translate
  84.              1  Additional Master Clock Select
  85.              2  Enable tri-state for all output pins
  86.              3  Enable input A8 of 1MB DRAMs
  87.              4  Reserved
  88.              5  Enable external ROM CRTC translation
  89.              6  Enable Double Scan and Underline Attribute
  90.              7  CGA/MDA/Hercules
  91.  
  92.        3d4h index 25h (R/W): Overflow High ET3000       (ET3000 Only)
  93.          bit 0  Vertical Blank Start bit 10
  94.              1  Vertical Total Start bit 10
  95.              2  Vertical Display End bit 10
  96.              3  Vertical Sync Start bit 10
  97.              4  Line Compare bit 10
  98.            5-6  Reserved
  99.              7  Vertical Interlace if set
  100.  
  101.        3d4h index 32h (R/W): RAS/CAS Video Config
  102.          Ram timing, System clock and Ram type. Sample values:
  103.            00h  VRAM  80nsec
  104.            09h  VRAM 100nsec
  105.            00h  VRAM  28MHz
  106.            08h  VRAM  36MHz
  107.            70h  DRAM  40MHz
  108.  
  109.        3d4h index 33h (R/W): Extended start ET4000  (ET4000 Only)
  110.        bit 0-1  Display start adress bits 16-17
  111.            2-3  Cursor start adress bits 16-17
  112.                 Can be used to ID ET4000
  113.  
  114.        3d4h index 34h (R/W): Compatibility Control Register
  115.          bit 3  if set Video Subsystem Enable Register at 46E8h
  116.                   else at 3C3h.
  117.  
  118.        3d4h index 35h (R/W): Overflow High ET4000   (ET4000 Only)
  119.          bit 0  Vertical Blank Start Bit 10
  120.              1  Vertical Total Bit 10
  121.              2  Vertical Display End Bit 10
  122.              3  Vertical Sync Start Bit 10
  123.              4  Line Compare Bit 10
  124.              5  Gen-Lock Enabled if set (External sync)
  125.              6  Read/Modify/Write Enabled if set
  126.                 Currently not implemented.
  127.              7  Vertical interlace if set
  128.  
  129.        3d4h index 36h (R/W): Video System Configuration 1
  130.          bit 3  16 bit wide fonts if set, else 8 bit wide
  131.              4  (ET4000 Only) Linear adressing if set
  132.                 Video Memory is mapped as a 1 Meg block above 1MB.
  133.              6  16 bit data path (video memory) if set
  134.              7  16 bit data (I/O operations) if set
  135.  
  136.        3d4h index 37h (R/W): Video System Configuration 2
  137.        bit 0-1  Memory size  0,1=256k, 2=512k, 3=1M   ???
  138.              3  Clear if 64kx4 RAMs                   ???
  139.                 if set RAM size = (bit 0-1)*256k
  140.                   else RAM size = (bit 0-1)* 64k
  141.  
  142.              4    16 bit ROM access if set
  143.              5    Memory bandwidth (0 better than 1) ???
  144.              7    VRAM installed if set DRAM else.
  145.          bit 6?   Block read ahead (BRA)  if clear
  146.  
  147.       46E8h (R):  Video Subsystem Enable Register
  148.          bit 3  Enable VGA if set
  149.  
  150.  
  151.        3C4h index 05 used.
  152.        3CBh used.   PEL Add/Dat. ??
  153.        3CEh index 0Dh-0Eh used.
  154.  
  155.  
  156.   Bank Switching:
  157.  
  158.      64k banks are selected by the Segment Select Register at 3CDh.
  159.      Both a Read and a Write segment can be selected.
  160.  
  161.   Hardware Zoom (ET3000 Only).
  162.  
  163.      The ET3000 can zoom a part of display memory in a window.
  164.      The display memory position and window position are selected
  165.      by 3d4h index 1Bh to 21h.
  166.  
  167.  
  168.   Identify Tseng Chipset:
  169.  
  170.      old:=port[$3CD];
  171.      port[$3cd]:=$55;
  172.      new:=port[$3cd];
  173.      port[$3cd]:=old;
  174.  
  175.      if new=$55 then Tseng Chip !!!
  176.  
  177.  
  178.   Identify Tseng 4000:
  179.  
  180.      if odd(port[$3cc]) then base:=$3d4 else base:=$3b4;
  181.  
  182.      port[base]:=$33;old_value:=port[base+1];
  183.      new_value:=old_value xor 15;
  184.      port[base+1]:=new_value;
  185.      value:=port[base+1];
  186.      port[base+1]:=old_value;
  187.  
  188.      if value=new_value then ET4000 chip !!!
  189.  
  190.  
  191.   Video Modes:
  192.      8   T   132   25   2                   (STB only)
  193.      Ah  T   132   44   2
  194.  
  195.     18h  T   132   44   4  (8x8)   B000
  196.     19h  T   132   25   4  (9x14)  B000
  197.     1Ah  T   132   28   4  (9x13)  B000
  198.     22h  T   132   44  16  (8x8)
  199.     23h  T   132   25  16  (8x14)
  200.     24h  T   132   28  16  (8x13)
  201.     25h  G   640  480  16  planar
  202.     26h  T    80   60  16  (8x8)
  203.     27h  G   720  512  16  planar           (Tseng recomanded, few boards)
  204.     29h  G   800  600  16  planar
  205.     2Ah  T   100   40  16  planar
  206.     2Dh  G   640  350 256  packed
  207.     2Eh  G   640  480 256  packed
  208.     2Fh  G   640  400 256  packed           (ET4000 Only)
  209.     2Fh  G   720  512 256  packed           (Tseng recomanded, few boards)
  210.     30h  G   800  600 256  packed
  211.     36h  G   960  720  16  planar           (STB only)
  212.     37h  G  1024  768  16  planar
  213.     38h  G  1024  768 256  packed           (ET4000 Only)
  214.     3Dh  G  1280 1024  16  planar           (newer ET4000s)
  215.  
  216.  
  217.  
  218.  
  219. See Hicolor.doc for information about the Sierra HiColor RAMDAC.
  220.