forked from KolibriOS/kolibrios
searchap: first mount attempt without delay, second mount attempt with delay (default 5 seconds); by Mario request
git-svn-id: svn://kolibrios.org@7449 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
95a6512006
commit
ce3c40a673
@ -282,7 +282,7 @@ else
|
|||||||
end if
|
end if
|
||||||
|
|
||||||
mouse_dd dd 0
|
mouse_dd dd 0
|
||||||
edit1 edit_box (WIN_W-67-82), 67, 146, 0xffffff, 0xff, 0x80ff, 0, 0x90000000, (string1_end-string1), string1 , mouse_dd, ed_focus+ed_always_focus+ed_figure_only
|
edit1 edit_box (WIN_W-67-82), 67, 146, 0xffffff, 0xff, 0x80ff, 0, 0x90000000, (string1_end-string1), string1 , mouse_dd, ed_focus+ed_always_focus
|
||||||
|
|
||||||
editboxes_end:
|
editboxes_end:
|
||||||
|
|
||||||
|
@ -37,7 +37,8 @@
|
|||||||
params dd PARAMS
|
params dd PARAMS
|
||||||
dd 0x0
|
dd 0x0
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
delay dd 0;500
|
delay dd 500
|
||||||
|
mount_attempt dd 0
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
fileinfo:
|
fileinfo:
|
||||||
.subfunction dd 5
|
.subfunction dd 5
|
||||||
@ -106,7 +107,7 @@ START:
|
|||||||
mov [delay], ecx
|
mov [delay], ecx
|
||||||
.params_done:
|
.params_done:
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
mcall 5,[delay]
|
;mcall 5,[delay] ;first mount attempt without delay
|
||||||
mov ebx,start_dir
|
mov ebx,start_dir
|
||||||
mov ax,[ebx]
|
mov ax,[ebx]
|
||||||
mov ebx,read_folder_name
|
mov ebx,read_folder_name
|
||||||
@ -131,6 +132,14 @@ exit:
|
|||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
DEBUGF 1, "Searchap: just exit\n"
|
DEBUGF 1, "Searchap: just exit\n"
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
|
cmp [mount_dir],1
|
||||||
|
je @f
|
||||||
|
cmp [mount_attempt], 1
|
||||||
|
je @f
|
||||||
|
mov [mount_attempt], 1 ;second mount attempt with delay
|
||||||
|
mcall 5,[delay]
|
||||||
|
jmp START.params_done
|
||||||
|
terminate:
|
||||||
mcall -1
|
mcall -1
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
device_detect_f70:
|
device_detect_f70:
|
||||||
|
Loading…
Reference in New Issue
Block a user