Displaying 1 result from an estimated 1 matches for "showtimeoutend".
2002 Feb 26
0
syslinux timeout
...jnz get_char_pop
xor ax,ax
int 1Ah ; Get time "of day"
pop ax
cmp dx,ax ; Has the timer advanced?
je tick_loop
+
+ ; DTM BEGIN -------------------------------------------------
+ cmp [ShowTimeOut], word 0
+ jne .showtimeout
+ pop ax ; extract saved cx
+ jmp .showtimeoutend
+.showtimeout:
+ pop ax
+ mov cx,ax ; save current loop value in cx
+ mov bl,10 ; 1/10 sec
+ div bl
+ and ah,ah ; reminder
+ jnz .showtimeoutend
+
+ mov si, boot_timeout_prompt_pos
+ call cwritestr
+
+ mov ax,cx ; move loop value into ax
+ call writehex4
+
+ mov si, boot_timeout_...