summaryrefslogtreecommitdiff
path: root/ui.inc
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-18 23:31:59 +0000
committerhpa <hpa>2005-08-18 23:31:59 +0000
commit4c9edee7a68021fcfbc91e279342678b7f2c4d6d (patch)
treedd7fc0dab030963afa69df877c0ab51c8ab24320 /ui.inc
parent94db804fb314c86adca32b899cd1b3e10fb5610b (diff)
downloadsyslinux-4c9edee7a68021fcfbc91e279342678b7f2c4d6d.tar.gz
Try again to make "noescape" actually work...
Diffstat (limited to 'ui.inc')
-rw-r--r--ui.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui.inc b/ui.inc
index 06b67e92..968f778b 100644
--- a/ui.inc
+++ b/ui.inc
@@ -22,7 +22,8 @@ no_config_file:
check_for_key:
cmp word [ForcePrompt],byte 0 ; Force prompt?
jnz enter_command
- test byte [KbdFlags],5Bh ; Caps, Scroll, Shift, Alt
+ mov al,[KbdFlags]
+ test al,[KbdFlagMask]
jz auto_boot ; If neither, default boot
enter_command:
@@ -485,6 +486,9 @@ kernel_good:
%endif
; Otherwise Linux kernel
+ section .data
+KbdFlagMask db 5Bh ; Caps, Scroll, Shift, Alt
+
section .bss
alignb 2
KernelExtPtr resw 1 ; During search, final null pointer