Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 3779 → Rev 3780

/programs/system/searchap/searchap.asm
72,7 → 72,7
basic_file_name:
db 'kolibri.lbl',0
additional_dir_name:
db 'addappl',0
db 'KolibriOS',0
real_additional_dir:
db '/kolibrios',0
;-------------------------------------------------------------------------------
80,7 → 80,7
 
include '../../macros.inc'
 
if debug eq yes
if debug eq yes
include '../../debug.inc'
end if
;-------------------------------------------------------------------------------
94,7 → 94,7
mov [ebx],ax
call device_detect_f70
;--------------------------------------
if debug eq yes
if debug eq yes
call print_retrieved_devices_table
dps 'get basic file'
newline
105,8 → 105,8
cmp [fs_error],eax
jne exit
mov eax,[fileinfo.size]
mov [basic_file_size],eax
mov [basic_file_size],eax
 
call search_and_load_pointer_file_label
;---------------------------------------------------------------------
exit:
276,12 → 276,12
jbe @f
mov ecx,eax
;-----------------------------------
@@:
@@:
mov [fileinfo.size],ecx
;--------------------------------------
if debug eq yes
dps 'get file'
newline
newline
end if
;--------------------------------------
mcall 68,1
303,7 → 303,7
end if
;--------------------------------------
ret
;-----------------------------------
;-----------------------------------
@@:
;--------------------------------------
if debug eq yes
343,7 → 343,7
push ecx
call debug_outstr
pop ecx
newline
newline
end if
;--------------------------------------
; mcall 5,10
363,7 → 363,7
;--------------------------------------
if debug eq yes
dps 'additional parttition is not found!'
newline
newline
end if
;--------------------------------------
ret
392,7 → 392,7
;--------------------------------------
if debug eq yes
dps 'compare files sucess!'
newline
newline
dps 'mount directory:'
newline
mov edx,esi
414,7 → 414,7
mov edi,f30_3_work_area
call proc_copy_patch
; here is call kernel function to mount the found partition
; as "/addappl" directory to root directory "/"
; as "/KolibriOS" directory to root directory "/"
mcall 30,3,f30_3_work_area
ret
;--------------------------------------
424,7 → 424,7
;--------------------------------------
if debug eq yes
dps 'compare files is not match!'
newline
newline
end if
;--------------------------------------
ret
529,4 → 529,4
stacktop:
;-------------------------------------------------------------------------------
I_END:
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------