diff options
author | Volker Ruppert <info@vruppert.de> | 2004-06-25 17:29:45 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2004-06-25 17:29:45 +0000 |
commit | a9f91e7564a520ee24ef63121537978788ac9e9a (patch) | |
tree | e4e5ec3bcceaa84d32d73c7c4d96efbfa0c98dfe | |
parent | c31976b7d7875999fe1a33891ce84fbf0a28e801 (diff) | |
download | vgabios-a9f91e7564a520ee24ef63121537978788ac9e9a.tar.gz |
- fixed value of sequencer reset register in cirrus mode table
- fixed possible overflow error if cirrus start address is >256k
-rw-r--r-- | clext.c | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -71,7 +71,7 @@ unsigned short cgraph_svgacolor[] = { }; /* 640x480x8 */ unsigned short cseq_640x480x8[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1107, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1107, 0x580b,0x580c,0x580d,0x580e, 0x0412,0x0013,0x2017, 0x331b,0x331c,0x331d,0x331e, @@ -87,7 +87,7 @@ unsigned short ccrtc_640x480x8[] = { }; /* 640x480x16 */ unsigned short cseq_640x480x16[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1707, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1707, 0x580b,0x580c,0x580d,0x580e, 0x0412,0x0013,0x2017, 0x331b,0x331c,0x331d,0x331e, @@ -103,7 +103,7 @@ unsigned short ccrtc_640x480x16[] = { }; /* 640x480x24 */ unsigned short cseq_640x480x24[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1507, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1507, 0x580b,0x580c,0x580d,0x580e, 0x0412,0x0013,0x2017, 0x331b,0x331c,0x331d,0x331e, @@ -119,7 +119,7 @@ unsigned short ccrtc_640x480x24[] = { }; /* 800x600x8 */ unsigned short cseq_800x600x8[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1107, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1107, 0x230b,0x230c,0x230d,0x230e, 0x0412,0x0013,0x2017, 0x141b,0x141c,0x141d,0x141e, @@ -134,7 +134,7 @@ unsigned short ccrtc_800x600x8[] = { }; /* 800x600x16 */ unsigned short cseq_800x600x16[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1707, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1707, 0x230b,0x230c,0x230d,0x230e, 0x0412,0x0013,0x2017, 0x141b,0x141c,0x141d,0x141e, @@ -149,7 +149,7 @@ unsigned short ccrtc_800x600x16[] = { }; /* 800x600x24 */ unsigned short cseq_800x600x24[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1507, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1507, 0x230b,0x230c,0x230d,0x230e, 0x0412,0x0013,0x2017, 0x141b,0x141c,0x141d,0x141e, @@ -164,7 +164,7 @@ unsigned short ccrtc_800x600x24[] = { }; /* 1024x768x8 */ unsigned short cseq_1024x768x8[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1107, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1107, 0x760b,0x760c,0x760d,0x760e, 0x0412,0x0013,0x2017, 0x341b,0x341c,0x341d,0x341e, @@ -179,7 +179,7 @@ unsigned short ccrtc_1024x768x8[] = { }; /* 1024x768x16 */ unsigned short cseq_1024x768x16[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1707, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1707, 0x760b,0x760c,0x760d,0x760e, 0x0412,0x0013,0x2017, 0x341b,0x341c,0x341d,0x341e, @@ -194,7 +194,7 @@ unsigned short ccrtc_1024x768x16[] = { }; /* 1024x768x24 */ unsigned short cseq_1024x768x24[] = { -0x0100,0x2101,0x0f02,0x0003,0x0e04,0x1507, +0x0300,0x2101,0x0f02,0x0003,0x0e04,0x1507, 0x760b,0x760c,0x760d,0x760e, 0x0412,0x0013,0x2017, 0x341b,0x341c,0x341d,0x341e, @@ -1066,6 +1066,7 @@ cirrus_vesa_07h_1: inc dx cirrus_vesa_07h_3: push dx + and dx, #0x0003 mov bx, #0x04 div bx pop dx |