Subversion Repositories Kolibri OS

Rev

Rev 1378 | Rev 1491 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1378 Rev 1379
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 1378 $
8
$Revision: 1379 $
9
 
9
 
Line 103... Line 103...
103
; 7 : start application
103
; 7 : start application
104
; 8 : delete file
104
; 8 : delete file
105
; 9 : create directory
105
; 9 : create directory
Line 106... Line 106...
106
 
106
 
107
; parse file name
-
 
108
	cmp	dword [eax], 1
-
 
109
	jne	@F
-
 
110
	;xchg	bx,bx
-
 
111
@@:
-
 
112
	;up to file_system_lfn - TEMP!!!
107
; parse file name
113
	xchg	ebx, eax
108
	xchg	ebx, eax
114
	lea	esi, [ebx+20]
109
	lea	esi, [ebx+20]
115
	lodsb
110
	lodsb
116
	test	al, al
111
	test	al, al
Line 185... Line 180...
185
	mov	ecx, 32/4
180
	mov	ecx, 32/4
186
	rep	stosd
181
	rep	stosd
187
	pop     ecx
182
	pop     ecx
188
	mov	byte [edx], 1	; version
183
	mov	byte [edx], 1	; version
189
.maindir_loop:
184
.maindir_loop:
190
	call	esi		;!!!!!!!!!!!!!!!!!!
185
	call	esi
191
	jc	.maindir_done
186
	jc	.maindir_done
192
	inc	dword [edx+8]
187
	inc	dword [edx+8]
193
	dec	dword [esp]
188
	dec	dword [esp]
194
	jns	.maindir_loop
189
	jns	.maindir_loop
195
	dec	ebp
190
	dec	ebp
Line 1146... Line 1141...
1146
	xor	ebp, ebp
1141
	xor	ebp, ebp
1147
	test	esi, esi
1142
	test	esi, esi
1148
	jz	.ret.ok
1143
	jz	.ret.ok
1149
	mov	byte [edi-1], '/'
1144
	mov	byte [edi-1], '/'
1150
	jmp	.set_copy_cont
1145
	jmp	.set_copy_cont
1151
-