aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/detect-resolution
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/detect-resolution')
-rwxr-xr-xscripts/detect-resolution6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/detect-resolution b/scripts/detect-resolution
index 6b26e89..66a92bd 100755
--- a/scripts/detect-resolution
+++ b/scripts/detect-resolution
@@ -89,6 +89,8 @@ sub convert_vgamode {
'1024x768x8' => [ '773', '0x305' ],
'1280xx8' => [ '775', '0x307' ],
'1280x1024x8' => [ '775', '0x307' ],
+ '1600xx8' => [ '777', '0x309' ],
+ '1600x1200x8' => [ '777', '0x309' ],
'640xx15' => [ '784', '0x310' ],
'640x480x15' => [ '784', '0x310' ],
'800xx15' => [ '787', '0x313' ],
@@ -97,6 +99,8 @@ sub convert_vgamode {
'1024x768x15' => [ '790', '0x316' ],
'1280xx15' => [ '793', '0x319' ],
'1280x1024x15' => [ '793', '0x319' ],
+ '1600xx15' => [ '796', '0x31C' ],
+ '1600x1200x15' => [ '796', '0x31C' ],
'640xx16' => [ '785', '0x311' ],
'640x480x16' => [ '785', '0x311' ],
'800xx16' => [ '788', '0x314' ],
@@ -105,6 +109,8 @@ sub convert_vgamode {
'1024x768x16' => [ '791', '0x317' ],
'1280xx16' => [ '794', '0x31A' ],
'1280x1024x16' => [ '794', '0x31A' ],
+ '1600xx16' => [ '797', '0x31D' ],
+ '1600x1200x16' => [ '797', '0x31D' ],
#- '640xx24' => 786, #- there is a problem with these resolutions since the BIOS may take 24 or 32 planes.
#- '640x480x24' => 786,
#- '800xx24' => 789,