Rev 753 | Rev 802 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 753 | Rev 786 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. 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: 753 $ |
8 | $Revision: 786 $ |
9 | 9 | ||
10 | 10 | ||
Line 354... | Line 354... | ||
354 | locals |
354 | locals |
355 | handle dd ? |
355 | handle dd ? |
356 | endl |
356 | endl |
Line 357... | Line 357... | ||
357 | 357 | ||
- | 358 | xor eax, eax |
|
- | 359 | cmp [create_cursor], eax |
|
- | 360 | je .fail2 |
|
358 | xor eax, eax |
361 | |
359 | mov [handle], eax |
362 | mov [handle], eax |
360 | cmp word [flags], LOAD_FROM_FILE |
363 | cmp word [flags], LOAD_FROM_FILE |
Line 361... | Line 364... | ||
361 | jne @F |
364 | jne @F |
Line 384... | Line 387... | ||
384 | pop edi |
387 | pop edi |
385 | pop esi |
388 | pop esi |
386 | pop ebx |
389 | pop ebx |
387 | .fail: |
390 | .fail: |
388 | mov eax, [handle] |
391 | mov eax, [handle] |
- | 392 | .fail2: |
|
389 | ret |
393 | ret |
390 | endp |
394 | endp |
Line 391... | Line 395... | ||
391 | 395 | ||
392 | align 4 |
396 | align 4 |