From ce25720d9f83d76aa078a9b9a2b603b8fd666d32 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 4 Nov 2014 16:01:32 +0000 Subject: [PATCH] Prefer 16bpp mode over VGA as default video mode. git-svn-id: svn://kolibrios.org@5167 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/boot/bootvesa.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/boot/bootvesa.inc b/kernel/trunk/boot/bootvesa.inc index 1070ba29bf..491f878f6d 100644 --- a/kernel/trunk/boot/bootvesa.inc +++ b/kernel/trunk/boot/bootvesa.inc @@ -370,6 +370,8 @@ if defined extended_primary_loader je .ok_found_mode cmp word [es:si+8], 24 je .ok_found_mode + cmp word [es:si+8], 16 + je .ok_found_mode @@: add si, size_of_step cmp word [es:si], -1 @@ -480,6 +482,8 @@ end if je .ok cmp word [es:si+8], 24 je .ok + cmp word [es:si+8], 16 + je .ok .next: add si, size_of_step cmp word [es:si], -1