Rev 5994 | Rev 6338 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5994 | Rev 6333 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. 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: 5994 $ |
8 | $Revision: 6333 $ |
9 | 9 | ||
10 | ERROR_SUCCESS = 0 |
10 | ERROR_SUCCESS = 0 |
11 | ERROR_DISK_BASE = 1 |
11 | ERROR_DISK_BASE = 1 |
Line 132... | Line 132... | ||
132 | test al, al |
132 | test al, al |
133 | jnz @f |
133 | jnz @f |
134 | mov esi, [esi] |
134 | mov esi, [esi] |
135 | lodsb |
135 | lodsb |
136 | @@: |
136 | @@: |
- | 137 | lea ebp, [esi-1] |
|
- | 138 | cmp dword [ebx], 7 |
|
- | 139 | jne @F |
|
- | 140 | mov edx, [ebx+4] |
|
- | 141 | mov ebx, [ebx+8] |
|
- | 142 | call fs_execute; ebp, ebx, edx |
|
- | 143 | mov [image_of_eax], eax |
|
- | 144 | ret |
|
- | 145 | @@: |
|
137 | cmp al, '/' |
146 | cmp al, '/' |
138 | jz .notcurdir |
147 | jz .notcurdir |
139 | dec esi |
148 | dec esi |
140 | mov ebp, esi |
149 | mov ebp, esi |
141 | test al, al |
150 | test al, al |
Line 148... | Line 157... | ||
148 | .notcurdir: |
157 | .notcurdir: |
149 | cmp byte [esi], 0 |
158 | cmp byte [esi], 0 |
150 | jz .rootdir |
159 | jz .rootdir |
151 | call process_replace_file_name |
160 | call process_replace_file_name |
152 | .parse_normal: |
161 | .parse_normal: |
153 | cmp dword [ebx], 7 |
- | |
154 | jne @F |
- | |
155 | mov edx, [ebx+4] |
- | |
156 | mov ebx, [ebx+8] |
- | |
157 | call fs_execute; esi+ebp, ebx, edx |
- | |
158 | mov [image_of_eax], eax |
- | |
159 | ret |
- | |
160 | @@: |
- | |
161 | mov edi, rootdirs-8 |
162 | mov edi, rootdirs-8 |
162 | xor ecx, ecx |
163 | xor ecx, ecx |
163 | push esi |
164 | push esi |
164 | .scan1: |
165 | .scan1: |
165 | pop esi |
166 | pop esi |