Displaying 1 result from an estimated 1 matches for "menu_timeout".
2009 Jul 15
0
[PATCH] gfxboot: parse TIMEOUT keyword
...fxboot.asm
+++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm
@@ -657,8 +657,7 @@ gfx_input:
shl edi,4
add edi, command_line ; buffer (0: no buffer)
mov ecx, max_cmd_len ; buffer size
-; xor eax,eax ; timeout value (0: no timeout)
- mov eax,100 ; timeout value (0: no timeout)
+ mov eax,[menu_timeout] ; timeout value (0: no timeout)
call far [gfx_bc_input]
ret
@@ -786,6 +785,42 @@ do_default:
.noparm:
ret
+do_timeout:
+ call skipspace
+ jz .eof
+ jc .noparm
+ call ungetc
+ push es
+ push di
+ push cs
+ pop es
+ mov di,NumBuf
+.getnum:
+ cmp di,NumBufEnd
+ jae .loaded
+...