Commit 02cfb0b4f3049a1ce6544d7f04f76de51ad0a1cd

Authored by bellard
1 parent 3bc2175d

update to current vga bios version - Cirrus VGA: support for 1280x1024x[8,15,16] modes


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1159 c046a42c-6fe2-441c-8c8c-71466251a162
pc-bios/vgabios-cirrus.bin
No preview for this file type
pc-bios/vgabios.bin
No preview for this file type
pc-bios/vgabios.diff 0 → 100644
  1 +? biossums
  2 +? vgabios.cirrus.debug.txt
  3 +? vgabios.cirrus.txt
  4 +? vgabios.debug.txt
  5 +? vgabios.txt
  6 +? tests/Makefile
  7 +? tests/setmode.S
  8 +? tests/setmode.c
  9 +? tests/setmode.com
  10 +? tests/setmode.elf
  11 +Index: Makefile
  12 +===================================================================
  13 +RCS file: /cvsroot/vgabios/vgabios/Makefile,v
  14 +retrieving revision 1.15
  15 +diff -u -w -r1.15 Makefile
  16 +Index: VGABIOS-lgpl-latest.bin
  17 +===================================================================
  18 +RCS file: /cvsroot/vgabios/vgabios/VGABIOS-lgpl-latest.bin,v
  19 +retrieving revision 1.60
  20 +diff -u -w -r1.60 VGABIOS-lgpl-latest.bin
  21 +Binary files /tmp/cvsCahrMA and VGABIOS-lgpl-latest.bin differ
  22 +Index: VGABIOS-lgpl-latest.cirrus.bin
  23 +===================================================================
  24 +RCS file: /cvsroot/vgabios/vgabios/VGABIOS-lgpl-latest.cirrus.bin,v
  25 +retrieving revision 1.12
  26 +diff -u -w -r1.12 VGABIOS-lgpl-latest.cirrus.bin
  27 +Binary files /tmp/cvsewygNU and VGABIOS-lgpl-latest.cirrus.bin differ
  28 +Index: VGABIOS-lgpl-latest.cirrus.debug.bin
  29 +===================================================================
  30 +RCS file: /cvsroot/vgabios/vgabios/VGABIOS-lgpl-latest.cirrus.debug.bin,v
  31 +retrieving revision 1.12
  32 +diff -u -w -r1.12 VGABIOS-lgpl-latest.cirrus.debug.bin
  33 +Binary files /tmp/cvsey9TQf and VGABIOS-lgpl-latest.cirrus.debug.bin differ
  34 +Index: VGABIOS-lgpl-latest.debug.bin
  35 +===================================================================
  36 +RCS file: /cvsroot/vgabios/vgabios/VGABIOS-lgpl-latest.debug.bin,v
  37 +retrieving revision 1.60
  38 +diff -u -w -r1.60 VGABIOS-lgpl-latest.debug.bin
  39 +Binary files /tmp/cvskxbTbC and VGABIOS-lgpl-latest.debug.bin differ
  40 +Index: clext.c
  41 +===================================================================
  42 +RCS file: /cvsroot/vgabios/vgabios/clext.c,v
  43 +retrieving revision 1.8
  44 +diff -u -w -r1.8 clext.c
  45 +--- clext.c 8 Aug 2004 16:52:55 -0000 1.8
  46 ++++ clext.c 30 Nov 2004 23:38:32 -0000
  47 +@@ -222,7 +222,21 @@
  48 + 0x001a,0x221b,0x001d,
  49 + 0xffff
  50 + };
  51 +-
  52 ++/* 1280x1024x16 */
  53 ++unsigned short cseq_1280x1024x16[] = {
  54 ++0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1707,
  55 ++0x760b,0x760c,0x760d,0x760e,
  56 ++0x0412,0x0013,0x2017,
  57 ++0x341b,0x341c,0x341d,0x341e,
  58 ++0xffff
  59 ++};
  60 ++unsigned short ccrtc_1280x1024x16[] = {
  61 ++0x2911,0xc300,0x9f01,0x9f02,0x8603,0x8304,0x9405,0x2406,0xf707,
  62 ++0x6009,0x000c,0x000d,
  63 ++0x0310,0xff12,0x4013,0x4014,0xff15,0x2416,0xc317,0xff18,
  64 ++0x001a,0x321b,0x001d,
  65 ++0xffff
  66 ++};
  67 +
  68 + cirrus_mode_t cirrus_modes[] =
  69 + {
  70 +@@ -269,6 +283,12 @@
  71 + {0x6d,1280,1024,8,0x00,
  72 + cseq_1280x1024x8,cgraph_svgacolor,ccrtc_1280x1024x8,8,
  73 + 4,0,0,0,0,0,0,0,0},
  74 ++ {0x69,1280,1024,15,0xf0,
  75 ++ cseq_1280x1024x16,cgraph_svgacolor,ccrtc_1280x1024x16,16,
  76 ++ 6,5,10,5,5,5,0,1,15},
  77 ++ {0x75,1280,1024,16,0xe1,
  78 ++ cseq_1280x1024x16,cgraph_svgacolor,ccrtc_1280x1024x16,16,
  79 ++ 6,5,11,6,5,5,0,0,0},
  80 +
  81 + {0xfe,0,0,0,0,cseq_vga,cgraph_vga,ccrtc_vga,0,
  82 + 0xff,0,0,0,0,0,0,0,0},
  83 +@@ -310,9 +330,13 @@
  84 + // 1024x768x16
  85 + 0x117, 0x74,
  86 + // 1024x768x24
  87 +-//0x118, 0x79,
  88 ++ 0x118, 0x79,
  89 + // 1280x1024x8
  90 + 0x107, 0x6d,
  91 ++// 1280x1024x15
  92 ++ 0x119, 0x69,
  93 ++// 1280x1024x16
  94 ++ 0x11a, 0x75,
  95 + // invalid
  96 + 0xffff,0xffff
  97 + };
... ...