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

  1.  
  2. /*
  3.  
  4.   This is for an Orchid Prodesigner II.
  5.   The 640x480 and 800x600 modes are low-end (hor. sync 35.5 kHz)
  6.   The 1024x768 modes are 60 Hz non-interlaced (hsync 48.3 kHz); be
  7.   sure to disable these if your monitor can't handle them.
  8.  
  9.   (file provided by Kayvan Sylvan <kayvan@satyr.sylvan.com>)
  10. */
  11.  
  12. /*
  13.    ( File generated by tseng3.exe )
  14.  
  15. tseng3 v1.2, Copyright (C) 1993  Tommy Frandsen, Harm Hanemaayer
  16. and Hartmut Schirmer
  17.  
  18. Permission is granted to any individual or institution to use, copy, or
  19. redistribute this executable so long as it is not modified and that it is
  20. not sold for profit.
  21.  
  22. LIKE ANYTHING ELSE THAT'S FREE, TSENG3 IS PROVIDED AS IS AND COMES WITH
  23. NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL
  24. THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF
  25. THIS SOFTWARE.
  26. */
  27.  
  28. /* Dac detection BIOS call returned an error */
  29.  
  30. #define CLOCK_VALUES {    \
  31.     /* 0 */ 25175,    \
  32.     /* 1 */ 28322,    \
  33.     /* 2 */ 39999,    \
  34.     /* 3 */ 36000,    \
  35.     /* 4 */ 25177,    \
  36.     /* 5 */ 28320,    \
  37.     /* 6 */ 44899,    \
  38.     /* 7 */ 62006    \
  39.     }
  40.  
  41. /* ET4000 HiColor BIOS mode 0x13 -- 320x200x32K : NOT SUPPORTED */
  42. #define g320x200x32K_regs DISABLE_MODE
  43.  
  44. /* ET4000 HiColor BIOS mode 0x13 -- 320x200x64K : NOT SUPPORTED */
  45. #define g320x200x64K_regs DISABLE_MODE
  46.  
  47. /* ET4000 TrueColor BIOS mode 0x13 -- 320x200x16M : NOT SUPPORTED */
  48. #define g320x200x16M_regs DISABLE_MODE
  49.  
  50. /* ET4000 BIOS mode 0x2E -- 640x480x256 */
  51. /* Video timing:    Vertical frequency   : 59.9Hz
  52.             Horizontal frequency : 31.5KHz  */
  53. static unsigned char g640x480x256_regs[73] = {
  54.   0x5F,0x4F,0x50,0x82,0x54,0x80,0x0B,0x3E,0x00,0x40,0x00,0x00,
  55.   0x00,0x00,0x00,0x00,0xEA,0x8C,0xDF,0x50,0x60,0xE7,0x04,0xAB,
  56.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  57.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  58.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  59.   0x03,0x01,0x0F,0x00,0x0E,
  60.   0xE3,
  61.   0x00,0x00,0x08,0x00,0x08,0x00,0x43,0x1F,0x00,0xBC,0x00,0x00,
  62.   0x00
  63. };
  64.  
  65. /* ET4000 HiColor BIOS mode 0x2E -- 640x480x32K : NOT SUPPORTED */
  66. #define g640x480x32K_regs DISABLE_MODE
  67.  
  68. /* ET4000 HiColor BIOS mode 0x2E -- 640x480x64K : NOT SUPPORTED */
  69. #define g640x480x64K_regs DISABLE_MODE
  70.  
  71. /* ET4000 TrueColor BIOS mode 0x2E -- 640x480x16M : NOT SUPPORTED */
  72. #define g640x480x16M_regs DISABLE_MODE
  73.  
  74. /* ET4000 BIOS mode 0x29 -- 800x600x16 */
  75. /* Video timing:    Vertical frequency   : 55.9Hz
  76.             Horizontal frequency : 35.4KHz  */
  77. static unsigned char g800x600x16_regs[73] = {
  78.   0x7A,0x63,0x64,0x1D,0x68,0x9A,0x78,0xF0,0x00,0x60,0x00,0x00,
  79.   0x00,0x00,0x00,0x00,0x5C,0x8E,0x57,0x32,0x00,0x5B,0x75,0xC3,
  80.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  81.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  82.   0x00,0x0F,0x00,0x00,0x00,0x00,0x05,0x0F,0xFF,
  83.   0x03,0x01,0x0F,0x00,0x06,
  84.   0xEF,
  85.   0x00,0x00,0x08,0x00,0x08,0x00,0x43,0x1F,0x00,0xBC,0x00,0x00,
  86.   0x00
  87. };
  88.  
  89. /* ET4000 BIOS mode 0x30 -- 800x600x256 */
  90. /* Video timing:    Vertical frequency   : 55.9Hz
  91.             Horizontal frequency : 35.4KHz  */
  92. static unsigned char g800x600x256_regs[73] = {
  93.   0x7A,0x63,0x64,0x1D,0x68,0x9A,0x78,0xF0,0x00,0x60,0x00,0x00,
  94.   0x00,0x00,0x00,0x00,0x5C,0x8E,0x57,0x64,0x60,0x5B,0x75,0xAB,
  95.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  96.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  97.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  98.   0x03,0x01,0x0F,0x00,0x0E,
  99.   0xEF,
  100.   0x00,0x00,0x08,0x00,0x08,0x00,0x43,0x1F,0x00,0xBC,0x00,0x00,
  101.   0x00
  102. };
  103.  
  104. /* ET4000 HiColor BIOS mode 0x30 -- 800x600x32K : NOT SUPPORTED */
  105. #define g800x600x32K_regs DISABLE_MODE
  106.  
  107. /* ET4000 HiColor BIOS mode 0x30 -- 800x600x64K : NOT SUPPORTED */
  108. #define g800x600x64K_regs DISABLE_MODE
  109.  
  110. /* ET4000 TrueColor BIOS mode 0x30 -- 800x600x16M : NOT SUPPORTED */
  111.  
  112. /* ET4000 BIOS mode 0x37 -- 1024x768x16 */
  113. /* Video timing:    Vertical frequency   : 59.9Hz
  114.             Horizontal frequency : 48.4KHz  */
  115. static unsigned char g1024x768x16_regs[73] = {
  116.   0x9B,0x7F,0x7F,0x1F,0x85,0x1B,0x26,0xF5,0x00,0x60,0x00,0x00,
  117.   0x00,0x00,0x00,0x00,0x06,0x88,0xFF,0x40,0x00,0xFF,0x27,0xC3,
  118.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  119.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  120.   0x00,0x0F,0x00,0x00,0x00,0x00,0x05,0x0F,0xFF,
  121.   0x03,0x01,0x0F,0x00,0x06,
  122.   0x2F,
  123.   0x00,0x00,0x08,0x00,0x0A,0x00,0x43,0x1F,0x00,0xFC,0x00,0x00,
  124.   0x90
  125. };
  126.  
  127. /* ET4000 BIOS mode 0x38 -- 1024x768x256 */
  128. /* Video timing:    Vertical frequency   : 60.0Hz
  129.             Horizontal frequency : 48.4KHz  */
  130. static unsigned char g1024x768x256_regs[73] = {
  131.   0x9B,0x7F,0x7F,0x1F,0x85,0x1B,0x26,0xF5,0x00,0x60,0x00,0x00,
  132.   0x00,0x00,0x00,0x00,0x06,0x88,0xFF,0x80,0x60,0xFF,0x27,0xAB,
  133.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  134.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  135.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  136.   0x03,0x01,0x0F,0x00,0x0E,
  137.   0x2F,
  138.   0x00,0x00,0x08,0x00,0x0A,0x00,0x43,0x1F,0x00,0xFC,0x00,0x00,
  139.   0x90
  140. };
  141.  
  142. /* ET4000 HiColor BIOS mode 0x38 -- 1024x768x32K : NOT SUPPORTED */
  143.  
  144. /* ET4000 HiColor BIOS mode 0x38 -- 1024x768x64K : NOT SUPPORTED */
  145.  
  146. /* ET4000 TrueColor BIOS mode 0x38 -- 1024x768x16M : NOT SUPPORTED */
  147.  
  148. /* ET4000 BIOS mode 0x3D -- 1280x1024x16 : NOT SUPPORTED */
  149. #define g1280x1024x16_regs DISABLE_MODE
  150.  
  151. /* VESA mode 0x107 -- 1280x1024x256 : NOT SUPPORTED */
  152.  
  153. /* VESA HiColor mode 0x119 -- 1280x1024x32K : NOT SUPPORTED */
  154.  
  155. /* VESA HiColor mode 0x11A -- 1280x1024x64K : NOT SUPPORTED */
  156.  
  157. /* VESA TrueColor mode 0x11B -- 1280x1024x16M : NOT SUPPORTED */
  158.  
  159. /* --- ET4000 specific modes */
  160. #ifdef _DYNAMIC_ONLY_
  161.  
  162. /* ET4000 BIOS mode 0x2D -- 640x350x256 */
  163. /* Video timing:    Vertical frequency   : 70.1Hz
  164.             Horizontal frequency : 31.5KHz  */
  165. static unsigned char g640x350x256_regs[73] = {
  166.   0x5F,0x4F,0x50,0x82,0x54,0x80,0xBF,0x1F,0x00,0x40,0x00,0x00,
  167.   0x00,0x00,0x00,0x00,0x83,0x85,0x5D,0x50,0x60,0x63,0xBA,0xAB,
  168.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  169.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  170.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  171.   0x03,0x01,0x0F,0x00,0x0E,
  172.   0xA3,
  173.   0x00,0x00,0x08,0x00,0x08,0x00,0x43,0x1F,0x00,0xBC,0x00,0x00,
  174.   0x00
  175. };
  176.  
  177. /* ET4000 HiColor BIOS mode 0x2D -- 640x350x32K : NOT SUPPORTED */
  178. #define g640x350x32K_regs DISABLE_MODE
  179.  
  180. /* ET4000 HiColor BIOS mode 0x2D -- 640x350x64K : NOT SUPPORTED */
  181. #define g640x350x64K_regs DISABLE_MODE
  182.  
  183. /* ET4000 TrueColor BIOS mode 0x2D -- 640x350x16M : NOT SUPPORTED */
  184. #define g640x350x16M_regs DISABLE_MODE
  185.  
  186. /* ET4000 BIOS mode 0x2F -- 640x400x256 */
  187. /* Video timing:    Vertical frequency   : 70.1Hz
  188.             Horizontal frequency : 31.5KHz  */
  189. static unsigned char g640x400x256_regs[73] = {
  190.   0x5F,0x4F,0x50,0x82,0x54,0x80,0xBF,0x1F,0x00,0x40,0x00,0x00,
  191.   0x00,0x00,0x00,0x00,0x9C,0x8E,0x8F,0x50,0x60,0x96,0xB9,0xAB,
  192.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  193.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  194.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  195.   0x03,0x01,0x0F,0x00,0x0E,
  196.   0x63,
  197.   0x00,0x00,0x08,0x00,0x08,0x00,0x43,0x1F,0x00,0xBC,0x00,0x00,
  198.   0x00
  199. };
  200.  
  201. /* ET4000 HiColor BIOS mode 0x2F -- 640x400x32K : NOT SUPPORTED */
  202. #define g640x400x32K_regs DISABLE_MODE
  203.  
  204. /* ET4000 HiColor BIOS mode 0x2F -- 640x400x64K : NOT SUPPORTED */
  205. #define g640x400x64K_regs DISABLE_MODE
  206.  
  207. /* ET4000 TrueColor BIOS mode 0x2F -- 640x400x16M : NOT SUPPORTED */
  208. #define g640x400x16M_regs DISABLE_MODE
  209.  
  210. #endif /* defined(_DYNAMIC_ONLY_ALL_) */
  211.  
  212.  
  213.