Displaying 4 results from an estimated 4 matches for "kbdtimeout".
Did you mean:
dpdtimeout
2012 May 04
3
[GIT PULL] elflink fixes
...;enter");
- if (!totaltimeout)
- return get_key(stdin, 0);
-
- for (;;) {
- tto = min(totaltimeout, INT_MAX);
- to = timeout ? min(tto, timeout) : tto;
+ t0 = times(NULL);
+ key = get_key(stdin, *kbd_to ? *kbd_to : *tto);
- t0 = 0;
- key = get_key(stdin, 0);
- t = 0 - t0;
+ /* kbdtimeout only applies to the first character */
+ if (*kbd_to)
+ *kbd_to = 0;
- if (totaltimeout <= t)
- longjmp(timeout_jump, 1);
+ t1 = times(NULL) - t0;
+ if (*tto) {
+ /* Timed out. */
+ if (*tto <= (long long)t1)
+ key = KEY_NONE;
+ else {
+ /* Did it wrap? */
+ if (*tt...
2002 Feb 26
0
syslinux timeout
...c_display
cmp ax,'la' ; LAbel
je near pc_label
@@ -1260,20 +1267,27 @@
jmp short parse_config_2
pc_timeout: call getint ; "timeout" command
jc parse_config_2
mov ax,0D215h ; There are approx 1.D215h
mul bx ; clock ticks per 1/10 s
add bx,dx
mov [KbdTimeOut],bx
jmp short parse_config_2
+; DTM BEGIN ------------------------------------------------
+pc_showtimeout: call getint ; "showtimeout" command
+ jc parse_config_2
+ mov [ShowTimeOut],bx
+ jmp short parse_config_2
+; DTM END --------------------------------------------------
+...
2003 Dec 27
0
2 disks boot patch
.../cluster
@@ -1436,20 +1449,27 @@
%ifdef debug ; This code for debugging only
debug_magic dw 0D00Dh ; Debug code sentinel
%endif
AppendLen dw 0 ; Bytes in append= command
OntimeoutLen dw 0 ; Bytes in ontimeout command
OnerrorLen dw 0 ; Bytes in onerror command
KbdTimeOut dw 0 ; Keyboard timeout (if any)
CmdLinePtr dw cmd_line_here ; Command line advancing pointer
initrd_flag equ $
initrd_ptr dw 0 ; Initial ramdisk pointer/flag
+; begin - freddy77
+
+change_disk_msg db 'Insert disk #'
+initrd_span db 0
+ db ' and press a key&...
2003 Dec 27
0
FW: 2 disks boot patch
.../cluster
@@ -1436,20 +1449,27 @@
%ifdef debug ; This code for debugging only
debug_magic dw 0D00Dh ; Debug code sentinel
%endif
AppendLen dw 0 ; Bytes in append= command
OntimeoutLen dw 0 ; Bytes in ontimeout command
OnerrorLen dw 0 ; Bytes in onerror command
KbdTimeOut dw 0 ; Keyboard timeout (if any)
CmdLinePtr dw cmd_line_here ; Command line advancing pointer
initrd_flag equ $
initrd_ptr dw 0 ; Initial ramdisk pointer/flag
+; begin - freddy77
+
+change_disk_msg db 'Insert disk #'
+initrd_span db 0
+ db ' and press a key&...