Displaying 7 results from an estimated 7 matches for "kbdflags".
Did you mean:
nbdflags
2009 Aug 10
2
PROMPT=0/ESCAPE key SERIAL fun
...x,dx
+ jz check_for_key
+; call pollchar
+; jz check_for_key
+ call reset_idle
+ call getchar
+ cmp al,1Bh ; <ESC>
+ je enter_command
check_for_key:
test byte [KbdFlags],5Bh ; Shift Alt Caps Scroll
jnz enter_command
----
Now, if I hold the escape[1] key down on boot from the serial port it
works great. The problem is that if I don't press a key the boot
process blocks until it gets a keypress. Annoyingly 'pollchar' seems to...
2002 Feb 26
0
syslinux timeout
..."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 ------------------------------------------------
+ ;;mov si,boot_prompt
+ ;;call cwritestr
+ call writeprompt
+ ; DTM END -------------------...
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com>
Here are the patches that I've got queued up based on the very helpful
feedback I received from people testing Syslinux 5.00-pre9. Unless
anyone has any concerns these will make it into Syslinux 5.00-pre10.
Matt Fleming (9):
pxe: Don't call open_config() from the pxe core
ldlinux: Print a warning if no config file is found
2011 May 25
1
[GIT PULL] elflink ldlinux
...< count; i++)
+ *dst++ = *src++;
+ *dst = '\0'; /* Null-terminate */
+
+ /* Clear the boot-once data from the ADV */
+ if (!syslinux_setadv(ADV_BOOTONCE, 0, NULL))
+ syslinux_adv_write();
+
+ load_kernel(cmdline); /* Shouldn't return */
+ goto cmdline;
+ }
+
/* TODO: Check KbdFlags? */
if (forceprompt)
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index 441651e..8ded92a 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -1154,7 +1154,7 @@ static int parse_one_config(const char *filename)
if...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...egs);
diff --git a/core/init.c b/core/init.c
index c1ba298..19db1e2 100644
--- a/core/init.c
+++ b/core/init.c
@@ -4,7 +4,7 @@
#include <fs.h>
#include <bios.h>
-static uint16_t min_lowmem_heap = 65536;
+static uint32_t min_lowmem_heap = 65536;
extern char __lowmem_heap[];
uint8_t KbdFlags; /* Check for keyboard escapes */
@@ -29,7 +29,7 @@ static inline void check_escapes(void)
__intcall(0x12, &ireg, &oreg);
- mem = ((uint16_t)__lowmem_heap) + min_lowmem_heap + 1023;
+ mem = ((uint32_t)__lowmem_heap) + min_lowmem_heap + 1023;
mem = mem >> 10;
if (me...
2012 Aug 14
1
[GIT PULL] elflink fixes
...;
+ ldlinux_enter_command(true);
}
for (i = 0; i < count; i++)
@@ -264,37 +291,11 @@ int main(int argc __unused, char **argv __unused)
syslinux_adv_write();
load_kernel(cmdline); /* Shouldn't return */
- goto cmdline;
+ ldlinux_enter_command(true);
}
/* TODO: Check KbdFlags? */
- if (forceprompt)
- goto cmdline;
-
- cmdline = default_cmd;
-auto_boot:
- /*
- * Auto boot
- */
- if (defaultlevel || noescape) {
- if (defaultlevel) {
- load_kernel(cmdline); /* Shouldn't return */
- } else {
- printf("No DEFAULT or UI configuration directive found!\n&quo...
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing