Rev 662 | Rev 672 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 662 | Rev 663 | ||
---|---|---|---|
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: 662 $ |
8 | $Revision: 663 $ |
9 | 9 | ||
Line 512... | Line 512... | ||
512 | 512 | ||
513 | file dd ? |
513 | file dd ? |
514 | file2 dd ? |
514 | file2 dd ? |
Line 515... | Line -... | ||
515 | endl |
- | |
516 | 515 | endl |
|
517 | push ebx |
516 | |
Line 518... | Line 517... | ||
518 | push esi |
517 | push esi |
519 | push edi |
518 | push edi |
Line 562... | Line 561... | ||
562 | @@: |
561 | @@: |
563 | mov ebx, [file_size] |
562 | mov ebx, [file_size] |
564 | pop eax |
563 | pop eax |
565 | pop edi |
564 | pop edi |
566 | pop esi |
565 | pop esi |
567 | pop ebx |
- | |
568 | ret |
566 | ret |
569 | .cleanup: |
567 | .cleanup: |
570 | stdcall kernel_free, [file] |
568 | stdcall kernel_free, [file] |
571 | .fail: |
569 | .fail: |
572 | xor eax, eax |
570 | xor eax, eax |
573 | xor ebx, ebx |
571 | xor ebx, ebx |
574 | pop edi |
572 | pop edi |
575 | pop esi |
573 | pop esi |
576 | pop ebx |
- | |
577 | ret |
574 | ret |
578 | endp |
575 | endp |
Line 579... | Line 576... | ||
579 | 576 | ||
580 | align 4 |
577 | align 4 |