Rev 1345 | Rev 1491 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1345 | Rev 1452 | ||
---|---|---|---|
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: 1345 $ |
8 | $Revision: 1452 $ |
9 | 9 | ||
Line 595... | Line 595... | ||
595 | cmp eax, 1024*1024*16 |
595 | cmp eax, 1024*1024*16 |
596 | ja .fail |
596 | ja .fail |
Line 597... | Line 597... | ||
597 | 597 | ||
598 | stdcall kernel_alloc, [file_size] |
598 | stdcall kernel_alloc, [file_size] |
- | 599 | mov [file], eax |
|
- | 600 | test eax, eax |
|
Line 599... | Line 601... | ||
599 | mov [file], eax |
601 | jz .fail |
600 | 602 | ||
601 | stdcall read_file, [file_name], eax, dword 0, [file_size] |
603 | stdcall read_file, [file_name], eax, dword 0, [file_size] |