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

  1. /*
  2.    ( File generated by tseng3.exe )
  3.  
  4. tseng3 v1.2, Copyright (C) 1993  Tommy Frandsen, Harm Hanemaayer
  5. and Hartmut Schirmer
  6.  
  7. Permission is granted to any individual or institution to use, copy, or
  8. redistribute this executable so long as it is not modified and that it is
  9. not sold for profit.
  10.  
  11. LIKE ANYTHING ELSE THAT'S FREE, TSENG3 IS PROVIDED AS IS AND COMES WITH
  12. NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL
  13. THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF
  14. THIS SOFTWARE.
  15. */
  16.  
  17.  
  18. /* generating ET3000 register set */
  19.  
  20. /* EXT CRT : EXT+0x00 .. EXT+0x02 */
  21. /* EXT SEQ : EXT+0x03 .. EXT+0x04 */
  22. /* EXT MISC: EXT+0x05 .. EXT+0x05 */
  23. /* EXT ATT : EXT+0x06 .. EXT+0x06 */
  24.  
  25. /* ET3000 BIOS mode 0x2E -- 640x480x256 */
  26. /* Video timing:    Vertical frequency   : 60.0Hz
  27.             Horizontal frequency : 31.5KHz  */
  28. static unsigned char g640x480x256_regs[67] = {
  29.   0x5F,0x4F,0x50,0x02,0x54,0x80,0x0B,0x3E,0x00,0x40,0x00,0x00,
  30.   0x00,0x00,0x00,0x00,0xEA,0x8C,0xDF,0x28,0x00,0xE7,0x04,0xC3,
  31.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  32.   0x0C,0x0D,0x0E,0x0F,0x41,0x00,0x0F,0x00,0x00,
  33.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  34.   0x02,0x03,0x0F,0x00,0x06,
  35.   0xE3,
  36.   0x00,0x00,0x00,0x00,0xA8,0x40,0x10
  37. };
  38.  
  39. /* ET3000 BIOS mode 0x29 -- 800x600x16 */
  40. /* Video timing:    Vertical frequency   : 59.4Hz
  41.             Horizontal frequency : 37.6KHz  */
  42. static unsigned char g800x600x16_regs[67] = {
  43.   0x80,0x63,0x64,0x03,0x67,0x1C,0x77,0xF0,0x00,0x60,0x00,0x00,
  44.   0x00,0x00,0x00,0x00,0x60,0x82,0x57,0x32,0x00,0x5B,0x75,0xC3,
  45.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  46.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  47.   0x00,0x0F,0x00,0x00,0x00,0x00,0x05,0x0F,0xFF,
  48.   0x02,0x01,0x0F,0x00,0x06,
  49.   0xEB,
  50.   0x00,0x00,0x00,0x00,0xA8,0x40,0x00
  51. };
  52.  
  53. /* ET3000 BIOS mode 0x30 -- 800x600x256 */
  54. /* Video timing:    Vertical frequency   : 59.4Hz
  55.             Horizontal frequency : 37.6KHz  */
  56. static unsigned char g800x600x256_regs[67] = {
  57.   0x80,0x63,0x64,0x03,0x67,0x1C,0x77,0xF0,0x00,0x60,0x00,0x00,
  58.   0x00,0x00,0x00,0x00,0x60,0x82,0x57,0x32,0x00,0x5B,0x75,0xC3,
  59.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  60.   0x0C,0x0D,0x0E,0x0F,0x41,0x00,0x0F,0x00,0x00,
  61.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  62.   0x02,0x01,0x0F,0x00,0x06,
  63.   0xEB,
  64.   0x00,0x00,0x00,0x00,0xA8,0x40,0x10
  65. };
  66.  
  67. /* ET3000 BIOS mode 0x37 -- 1024x768x16 */
  68. /* Video timing:    Vertical frequency   : 86.9Hz (interlaced)
  69.             Horizontal frequency : 35.5KHz  */
  70. static unsigned char g1024x768x16_regs[67] = {
  71.   0x4A,0x3F,0x3F,0x0E,0x44,0x0E,0x97,0x1F,0x00,0x40,0x00,0x00,
  72.   0x00,0x00,0x00,0x00,0x80,0x84,0x7F,0x20,0x00,0x7F,0x98,0xC3,
  73.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  74.   0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
  75.   0x00,0x0F,0x00,0x00,0x00,0x00,0x01,0x0F,0xFF,
  76.   0x02,0x03,0x0F,0x00,0x06,
  77.   0x2F,
  78.   0x00,0x00,0x80,0x00,0xE8,0x40,0x10
  79. };
  80.  
  81. /* ET3000 BIOS mode 0x38 -- 1024x768x256 : NOT SUPPORTED */
  82.  
  83. /* ET3000 BIOS mode 0x3D -- 1280x1024x16 : NOT SUPPORTED */
  84.  
  85. /* VESA mode 0x107 -- 1280x1024x256 : NOT SUPPORTED */
  86.  
  87. /* --- ET3000 specific modes */
  88. #ifdef _DYNAMIC_ONLY_
  89.  
  90. /* ET3000 BIOS mode 0x2D -- 640x350x256 */
  91. /* Video timing:    Vertical frequency   : 70.1Hz
  92.             Horizontal frequency : 31.5KHz  */
  93. static unsigned char g640x350x256_regs[67] = {
  94.   0x5F,0x4F,0x50,0x02,0x54,0x80,0xBF,0x1F,0x00,0x40,0x00,0x00,
  95.   0x00,0x00,0x00,0x00,0x83,0x85,0x5D,0x28,0x00,0x63,0xBA,0xC3,
  96.   0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
  97.   0x0C,0x0D,0x0E,0x0F,0x41,0x00,0x0F,0x00,0x00,
  98.   0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
  99.   0x02,0x03,0x0F,0x00,0x06,
  100.   0xA3,
  101.   0x00,0x00,0x00,0x00,0xA8,0x40,0x10
  102. };
  103.  
  104. /* ET3000 BIOS mode 0x2F -- 640x400x256 : NOT SUPPORTED */
  105.  
  106. #endif /* defined(_DYNAMIC_ONLY_ALL_) */
  107.  
  108.