summaryrefslogtreecommitdiff
path: root/ui.inc
diff options
context:
space:
mode:
authorhpa <hpa>2003-11-24 01:40:34 +0000
committerhpa <hpa>2003-11-24 01:40:34 +0000
commit4a10396ab1f114fc37fa8f276e047fe3c283671c (patch)
treefa9031da1b0469d079e87694482e845aa579fe28 /ui.inc
parentae5f820de305d20adb9d47c0dd142167ad7ad270 (diff)
downloadsyslinux-4a10396ab1f114fc37fa8f276e047fe3c283671c.tar.gz
Add timeoutcmd command
Diffstat (limited to 'ui.inc')
-rw-r--r--ui.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui.inc b/ui.inc
index e3563e7f..a43af407 100644
--- a/ui.inc
+++ b/ui.inc
@@ -60,8 +60,14 @@ tick_loop: push dx
je tick_loop
pop cx
loop time_loop ; If so, decrement counter
+
+ ; Timeout!!!!
call vgahidecursor
- jmp command_done ; Timeout!
+ mov si,TimeOutCmd ; Copy timeoutcommand if we have one...
+ mov cx,TimeOutCmdLen
+ rep movsb
+.stddefault:
+ jmp command_done
get_char_pop: pop eax ; Clear stack
get_char: