diff options
author | Volker Ruppert <info@vruppert.de> | 2004-12-04 15:26:17 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2004-12-04 15:26:17 +0000 |
commit | 43201d405c83f1feb77786f6e2dd231502838cd7 (patch) | |
tree | e7a9d0090be8e4ab367a68a0e9a286a3f93e8eb1 | |
parent | 5be431552197c518864d4d30e14841f5d089d2ed (diff) | |
download | vgabios-43201d405c83f1feb77786f6e2dd231502838cd7.tar.gz |
- Cirrus extension: support for 1280x1024x15 and 1280x1024x16 modes added (patch
from Fabrice Bellard)
-rw-r--r-- | clext.c | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -222,6 +222,21 @@ unsigned short ccrtc_1280x1024x8[] = { 0x001a,0x221b,0x001d, 0xffff }; +/* 1280x1024x16 */ +unsigned short cseq_1280x1024x16[] = { +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1707, +0x760b,0x760c,0x760d,0x760e, +0x0412,0x0013,0x2017, +0x341b,0x341c,0x341d,0x341e, +0xffff +}; +unsigned short ccrtc_1280x1024x16[] = { +0x2911,0xc300,0x9f01,0x9f02,0x8603,0x8304,0x9405,0x2406,0xf707, +0x6009,0x000c,0x000d, +0x0310,0xff12,0x4013,0x4014,0xff15,0x2416,0xc317,0xff18, +0x001a,0x321b,0x001d, +0xffff +}; cirrus_mode_t cirrus_modes[] = @@ -269,6 +284,12 @@ cirrus_mode_t cirrus_modes[] = {0x6d,1280,1024,8,0x00, cseq_1280x1024x8,cgraph_svgacolor,ccrtc_1280x1024x8,8, 4,0,0,0,0,0,0,0,0}, + {0x69,1280,1024,15,0xf0, + cseq_1280x1024x16,cgraph_svgacolor,ccrtc_1280x1024x16,16, + 6,5,10,5,5,5,0,1,15}, + {0x75,1280,1024,16,0xe1, + cseq_1280x1024x16,cgraph_svgacolor,ccrtc_1280x1024x16,16, + 6,5,11,6,5,5,0,0,0}, {0xfe,0,0,0,0,cseq_vga,cgraph_vga,ccrtc_vga,0, 0xff,0,0,0,0,0,0,0,0}, @@ -310,9 +331,13 @@ unsigned short cirrus_vesa_modelist[] = { // 1024x768x16 0x117, 0x74, // 1024x768x24 -//0x118, 0x79, + 0x118, 0x79, // 1280x1024x8 0x107, 0x6d, +// 1280x1024x15 + 0x119, 0x69, +// 1280x1024x16 + 0x11a, 0x75, // invalid 0xffff,0xffff }; |