diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-01-29 17:03:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-01-29 17:03:03 +0000 |
commit | b500d1944b7da62c8a0e423962b69b6b29c17cd9 (patch) | |
tree | 4d7a780ca3c16eef70739d7248094d2220bef32b /perl-install/bootloader.pm | |
parent | c435a9746d42aca721ffa48d3e5c403b126afa9e (diff) | |
download | drakx-b500d1944b7da62c8a0e423962b69b6b29c17cd9.tar drakx-b500d1944b7da62c8a0e423962b69b6b29c17cd9.tar.gz drakx-b500d1944b7da62c8a0e423962b69b6b29c17cd9.tar.bz2 drakx-b500d1944b7da62c8a0e423962b69b6b29c17cd9.tar.xz drakx-b500d1944b7da62c8a0e423962b69b6b29c17cd9.zip |
use the new format for combo's to clean code handling {vga} field
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 3cbc431a8..a688cd545 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -21,28 +21,21 @@ use modules; %vga_modes = ( - "Ask at boot" => 'ask', - "Normal" => 'normal', - "80x50" => '0x0f01', - "80x43" => '0x0f02', - "80x28" => '0x0f03', - "80x30" => '0x0f04', - "80x34" => '0x0f05', - "80x60" => '0x0f06', - "100x30" => '0x0122', - "640x480 in 16 bits (FrameBuffer only)" => 785, - "800x600 in 16 bits (FrameBuffer only)" => 788, - "1024x768 in 16 bits (FrameBuffer only)" => 791, - "1280x1024 in 16 bits (FrameBuffer only)" => 794, +'ask' => "Ask at boot", +'normal' => "Normal", +'0x0f01' => "80x50", +'0x0f02' => "80x43", +'0x0f03' => "80x28", +'0x0f04' => "80x30", +'0x0f05' => "80x34", +'0x0f06' => "80x60", +'0x0122' => "100x30", + 785 => "640x480 in 16 bits (FrameBuffer only)", + 788 => "800x600 in 16 bits (FrameBuffer only)", + 791 => "1024x768 in 16 bits (FrameBuffer only)", + 794 => "1280x1024 in 16 bits (FrameBuffer only)", ); -my %vga_modes2nb = ( - 'ask' => -3, - 'normal' => -1, -#- other entries are identity -); - - #-##################################################################################### #- Functions #-##################################################################################### |