Displaying 2 results from an estimated 2 matches for "check_for_key".
2009 Aug 10
2
PROMPT=0/ESCAPE key SERIAL fun
...-u syslinux-3.82/core/ui.inc.orig
syslinux-3.82/core/ui.inc
--- syslinux-3.82/core/ui.inc.orig 2009-08-07 17:53:57.419472369 +0100
+++ syslinux-3.82/core/ui.inc 2009-08-07 20:31:19.868015273 +0100
@@ -48,6 +48,16 @@
;
; Check whether or not we are supposed to display the boot prompt.
;
+check_for_key_serial:
+ mov dx,[SerialPort] ; No serial port -> no input
+ and dx,dx
+ jz check_for_key
+; call pollchar
+; jz check_for_key
+ call reset_idle
+ call getchar
+ cmp al,1Bh...
2002 Feb 26
0
syslinux timeout
..._msg_file ; Load and display file
parse_config_2: jmp parse_config
pc_prompt: call getint ; "prompt" command
jc parse_config_2
mov [ForcePrompt],bx
jmp short parse_config_2
@@ -1454,22 +1468,25 @@
;
; Check whether or not we are supposed to display the boot prompt.
;
check_for_key:
cmp word [ForcePrompt],byte 0 ; Force prompt?
jnz enter_command
test byte [KbdFlags],5Bh ; Caps, Scroll, Shift, Alt
jz near auto_boot ; If neither, default boot
enter_command:
- mov si,boot_prompt
- call cwritestr
+ ; DTM BEGIN ------------------------------------------------
+...