Rev 1042 | Rev 1236 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1042 | Rev 1050 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | ;; Launch finds program in search dirictories and runs it. ;; |
16 | ;; Launch finds program in search dirictories and runs it. ;; |
17 | ;; For more details see readme.txt ;; |
17 | ;; For more details see readme.txt ;; |
18 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
18 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 19... | Line 19... | ||
19 | 19 | ||
20 | APP_NAME fix 'Launch' |
20 | APP_NAME fix 'Launch' |
Line 21... | Line 21... | ||
21 | APP_VERSION fix '0.1.3' |
21 | APP_VERSION fix '0.1.4' |
22 | 22 | ||
Line 23... | Line 23... | ||
23 | use32 |
23 | use32 |
Line 161... | Line 161... | ||
161 | 161 | ||
162 | .skip_spaces: |
162 | .skip_spaces: |
163 | mov ecx, -1 |
163 | mov ecx, -1 |
164 | mov edi, args |
164 | mov edi, args |
- | 165 | mov al, ' ' |
|
165 | mov al, ' ' |
166 | xor bl, bl |
166 | ;cld |
167 | ;cld |
Line 167... | Line 168... | ||
167 | repe scasb |
168 | repe scasb |
Line 168... | Line 169... | ||
168 | 169 | ||
- | 170 | push edi |
|
169 | push edi |
171 | |
- | 172 | mov ecx, -1 |
|
- | 173 | @@: |
|
- | 174 | scasb |
|
- | 175 | je @f |
|
- | 176 | xchg al, bl |
|
- | 177 | dec edi |
|
170 | 178 | scasb |
|
Line 171... | Line 179... | ||
171 | mov ecx, -1 |
179 | jne @b |
172 | repne scasb |
180 | @@: |
173 | mov dword [prog_args], edi |
181 | mov dword [prog_args], edi |