home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / SVGALIB / _SVGALIB.TAR / usr / doc / svgalib / et4000 / speedstar+ < prev    next >
Encoding:
Text File  |  1995-01-18  |  7.3 KB  |  217 lines

  1.  
  2. /*
  3.  
  4.     Max hor. sync: 56 Hz (1024x768 NI at 70 Hz) --HH
  5. */
  6.  
  7. /*********************************************************
  8. ** These register value are from a SpeedSTAR Plus V4.23 **
  9. **                                                      **
  10. ** Oscillator frequencies (from dmode.com) :            **
  11. **                                                      **
  12. **   25.175 28.322 75.0 72.0 80.0 44.9 50.0 65.0        **
  13. **********************************************************/
  14.  
  15. /*
  16.    ( File generated by tseng3.exe )
  17.  
  18. tseng3 v1.2, Copyright (C) 1993  Tommy Frandsen, Harm Hanemaayer
  19. and Hartmut Schirmer
  20.  
  21. Permission is granted to any individual or institution to use, copy, or
  22. redistribute this executable so long as it is not modified and that it is
  23. not sold for profit.
  24.  
  25. LIKE ANYTHING ELSE THAT'S FREE, TSENG3 IS PROVIDED AS IS AND COMES WITH
  26. NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL
  27. THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF
  28. THIS SOFTWARE.
  29. */
  30.  
  31. /* Standard VGA dac detected */
  32. #ifndef alt
  33. #define DAC_TYPE 0
  34.  
  35. #define CLOCK_VALUES {    \
  36.     /* 0 */ 25175,    \
  37.     /* 1 */ 28322,    \
  38.     /* 2 */ 50181,    \
  39.     /* 3 */ 61231,    \
  40.     /* 4 */ 67684,    \
  41.     /* 5 */ 62300,    \
  42.     /* 6 */ 51760,    \
  43.     /* 7 */ 59149    \
  44.     }
  45.  
  46. /* ET4000 HiColor BIOS mode 0x13 -- 320x200x32K : NOT SUPPORTED */
  47. #define g320x200x32K_regs DISABLE_MODE
  48.  
  49. /* ET4000 HiColor BIOS mode 0x13 -- 320x200x64K : NOT SUPPORTED */
  50. #define g320x200x64K_regs DISABLE_MODE
  51.  
  52. /* ET4000 TrueColor BIOS mode 0x13 -- 320x200x16M : NOT SUPPORTED */
  53. #define g320x200x16M_regs DISABLE_MODE
  54.  
  55. /* ET4000 BIOS mode 0x2E -- 640x480x256 */
  56. /* Video timing:    Vertical frequency   : 72.3Hz
  57.             Horizontal frequency : 38.0KHz  */
  58. static unsigned char g640x480x256_regs[73] = {
  59.   0x66,0x4F,0x50,0x89,0x58,0x80,0x0B,0x3E,0x00,0x40,0x00,0x00,
  60.   0x00,0x00,0x00,0x00,0xEC,0x8C,0xDF,0x50,0x60,0xE7,0x04,0xAB,
  61.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  62.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  63.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  64.   0x03,0x01,0x0F,0x00,0x0E,
  65.   0xEF,
  66.   0x00,0x00,0x28,0x00,0x02,0x00,0x41,0x1F,0x00,0xFC,0x01,0x00,
  67.   0x00
  68. };
  69.  
  70. /* ET4000 HiColor BIOS mode 0x2E -- 640x480x32K : NOT SUPPORTED */
  71. #define g640x480x32K_regs DISABLE_MODE
  72.  
  73. /* ET4000 HiColor BIOS mode 0x2E -- 640x480x64K : NOT SUPPORTED */
  74. #define g640x480x64K_regs DISABLE_MODE
  75.  
  76. /* ET4000 TrueColor BIOS mode 0x2E -- 640x480x16M : NOT SUPPORTED */
  77. #define g640x480x16M_regs DISABLE_MODE
  78.  
  79. /* ET4000 BIOS mode 0x29 -- 800x600x16 */
  80. /* Video timing:    Vertical frequency   : 72.2Hz
  81.             Horizontal frequency : 48.1KHz  */
  82. static unsigned char g800x600x16_regs[73] = {
  83.   0x7D,0x63,0x64,0x01,0x6C,0x1A,0x98,0xF0,0x00,0x60,0x00,0x00,
  84.   0x00,0x00,0x00,0x00,0x69,0x80,0x57,0x32,0x00,0x59,0x7D,0xC3,
  85.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  86.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  87.   0x00,0x0F,0x00,0x00,0x00,0x00,0x05,0x0F,0xFF,
  88.   0x03,0x01,0x0F,0x00,0x06,
  89.   0xAB,
  90.   0x00,0x00,0x28,0x00,0x02,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
  91.   0x00
  92. };
  93.  
  94. /* ET4000 BIOS mode 0x30 -- 800x600x256 */
  95. /* Video timing:    Vertical frequency   : 72.2Hz
  96.             Horizontal frequency : 48.1KHz  */
  97. static unsigned char g800x600x256_regs[73] = {
  98.   0x7D,0x63,0x64,0x01,0x6C,0x1A,0x98,0xF0,0x00,0x60,0x00,0x00,
  99.   0x00,0x00,0x00,0x00,0x69,0x80,0x57,0x64,0x60,0x59,0x7D,0xAB,
  100.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  101.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  102.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  103.   0x03,0x01,0x0F,0x00,0x0E,
  104.   0xAB,
  105.   0x00,0x00,0x28,0x00,0x02,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
  106.   0x00
  107. };
  108.  
  109. /* ET4000 HiColor BIOS mode 0x30 -- 800x600x32K : NOT SUPPORTED */
  110. #define g800x600x32K_regs DISABLE_MODE
  111.  
  112. /* ET4000 HiColor BIOS mode 0x30 -- 800x600x64K : NOT SUPPORTED */
  113. #define g800x600x64K_regs DISABLE_MODE
  114.  
  115. /* ET4000 TrueColor BIOS mode 0x30 -- 800x600x16M : NOT SUPPORTED */
  116.  
  117. /* ET4000 BIOS mode 0x37 -- 1024x768x16 */
  118. /* Video timing:    Vertical frequency   : 70.0Hz
  119.             Horizontal frequency : 56.5KHz  */
  120. static unsigned char g1024x768x16_regs[73] = {
  121.   0xA1,0x7F,0x80,0x04,0x84,0x94,0x24,0xFD,0x00,0x60,0x00,0x00,
  122.   0x00,0x00,0x00,0x00,0x03,0x89,0xFF,0x40,0x00,0x01,0x24,0xC3,
  123.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  124.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  125.   0x00,0x0F,0x00,0x00,0x00,0x00,0x05,0x0F,0xFF,
  126.   0x03,0x01,0x0F,0x00,0x06,
  127.   0x2B,
  128.   0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
  129.   0x00
  130. };
  131.  
  132. /* ET4000 BIOS mode 0x38 -- 1024x768x256 */
  133. /* Video timing:    Vertical frequency   : 70.0Hz
  134.             Horizontal frequency : 56.4KHz  */
  135. static unsigned char g1024x768x256_regs[73] = {
  136.   0xA1,0x7F,0x80,0x04,0x84,0x94,0x24,0xFD,0x00,0x60,0x00,0x00,
  137.   0x00,0x00,0x00,0x00,0x03,0x89,0xFF,0x80,0x60,0x01,0x24,0xAB,
  138.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  139.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  140.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  141.   0x03,0x01,0x0F,0x00,0x0E,
  142.   0x2B,
  143.   0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
  144.   0x00
  145. };
  146.  
  147. /* ET4000 HiColor BIOS mode 0x38 -- 1024x768x32K : NOT SUPPORTED */
  148.  
  149. /* ET4000 HiColor BIOS mode 0x38 -- 1024x768x64K : NOT SUPPORTED */
  150.  
  151. /* ET4000 TrueColor BIOS mode 0x38 -- 1024x768x16M : NOT SUPPORTED */
  152.  
  153. /* ET4000 BIOS mode 0x3D -- 1280x1024x16 : NOT SUPPORTED */
  154. #define g1280x1024x16_regs DISABLE_MODE
  155.  
  156. /* VESA mode 0x107 -- 1280x1024x256 : NOT SUPPORTED */
  157.  
  158. /* VESA HiColor mode 0x119 -- 1280x1024x32K : NOT SUPPORTED */
  159.  
  160. /* VESA HiColor mode 0x11A -- 1280x1024x64K : NOT SUPPORTED */
  161.  
  162. /* VESA TrueColor mode 0x11B -- 1280x1024x16M : NOT SUPPORTED */
  163.  
  164. /* --- ET4000 specific modes */
  165. #ifdef _DYNAMIC_ONLY_
  166.  
  167. /* ET4000 BIOS mode 0x2D -- 640x350x256 */
  168. /* Video timing:    Vertical frequency   : 70.1Hz
  169.             Horizontal frequency : 31.5KHz  */
  170. static unsigned char g640x350x256_regs[73] = {
  171.   0x5F,0x4F,0x50,0x82,0x54,0x80,0xBF,0x1F,0x00,0x40,0x00,0x00,
  172.   0x00,0x00,0x00,0x00,0x83,0x85,0x5D,0x50,0x60,0x63,0xBA,0xAB,
  173.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  174.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  175.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  176.   0x03,0x01,0x0F,0x00,0x0E,
  177.   0xA3,
  178.   0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
  179.   0x00
  180. };
  181.  
  182. /* ET4000 HiColor BIOS mode 0x2D -- 640x350x32K : NOT SUPPORTED */
  183. #define g640x350x32K_regs DISABLE_MODE
  184.  
  185. /* ET4000 HiColor BIOS mode 0x2D -- 640x350x64K : NOT SUPPORTED */
  186. #define g640x350x64K_regs DISABLE_MODE
  187.  
  188. /* ET4000 TrueColor BIOS mode 0x2D -- 640x350x16M : NOT SUPPORTED */
  189. #define g640x350x16M_regs DISABLE_MODE
  190.  
  191. /* ET4000 BIOS mode 0x2F -- 640x400x256 */
  192. /* Video timing:    Vertical frequency   : 70.1Hz
  193.             Horizontal frequency : 31.5KHz  */
  194. static unsigned char g640x400x256_regs[73] = {
  195.   0x5F,0x4F,0x50,0x82,0x54,0x80,0xBF,0x1F,0x00,0x40,0x00,0x00,
  196.   0x00,0x00,0x00,0x00,0x9C,0x8E,0x8F,0x50,0x60,0x96,0xB9,0xAB,
  197.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  198.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  199.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  200.   0x03,0x01,0x0F,0x00,0x0E,
  201.   0x63,
  202.   0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
  203.   0x00
  204. };
  205.  
  206. /* ET4000 HiColor BIOS mode 0x2F-- 640x400x32K : NOT SUPPORTED */
  207. #define g640x400x32K_regs DISABLE_MODE
  208.  
  209. /* ET4000 HiColor BIOS mode 0x2F-- 640x400x64K : NOT SUPPORTED */
  210. #define g640x400x64K_regs DISABLE_MODE
  211.  
  212. /* ET4000 TrueColor BIOS mode 0x2F-- 640x400x16M : NOT SUPPORTED */
  213. #define g640x400x16M_regs DISABLE_MODE
  214.  
  215. #endif /* defined(_DYNAMIC_ONLY_ALL_) */
  216.  
  217.