aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-02-14 16:57:16 +0000
committerFlorent Villard <warly@mandriva.com>2003-02-14 16:57:16 +0000
commita6c7e5d4b1745c9b724b24c67d865263da37bac3 (patch)
tree15cb8821255e1a6e7ca5ed07946d72162ad1d62a /scripts
parent528a201ef597dc15d2095565e03389e712d64a68 (diff)
downloadbootsplash-a6c7e5d4b1745c9b724b24c67d865263da37bac3.tar
bootsplash-a6c7e5d4b1745c9b724b24c67d865263da37bac3.tar.gz
bootsplash-a6c7e5d4b1745c9b724b24c67d865263da37bac3.tar.bz2
bootsplash-a6c7e5d4b1745c9b724b24c67d865263da37bac3.tar.xz
bootsplash-a6c7e5d4b1745c9b724b24c67d865263da37bac3.zip
new 1600x1200 image
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootsplash.sysconfig2
-rwxr-xr-xscripts/detect-resolution6
-rwxr-xr-xscripts/make-boot-splash2
3 files changed, 9 insertions, 1 deletions
diff --git a/scripts/bootsplash.sysconfig b/scripts/bootsplash.sysconfig
index 7fefdb8..0217535 100644
--- a/scripts/bootsplash.sysconfig
+++ b/scripts/bootsplash.sysconfig
@@ -6,7 +6,7 @@
#
# SPLASH=auto to make autodetect the splash screen
#
-# SPLASH=INT When Integer could be 800x600 1024x768 1280x1024
+# SPLASH=INT When Integer could be 800x600 1024x768 1280x1024 1600x1200
#
SPLASH=auto
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,
diff --git a/scripts/make-boot-splash b/scripts/make-boot-splash
index ff899f3..d46a338 100755
--- a/scripts/make-boot-splash
+++ b/scripts/make-boot-splash
@@ -32,6 +32,8 @@ elif [[ $vgamode == 1024* ]];then
resolution=1024x768
elif [[ $vgamode == 1280* ]];then
resolution=1280x1024
+elif [[ $vgamode == 1600* ]];then
+ resolution=1600x1200
fi
if [[ -f $splash_dir/themes/$THEME/images/bootsplash-$resolution.jpg && -f $splash_cfg/themes/$THEME/cfg/bootsplash-$resolution.cfg ]];then