Rev 6845 | Rev 6876 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6845 | Rev 6869 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2016. 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: 6845 $ |
8 | $Revision: 6869 $ |
9 | 9 | ||
10 | ; NTFS external functions |
10 | ; NTFS external functions |
11 | ; in: |
11 | ; in: |
Line 1795... | Line 1795... | ||
1795 | mov [ebp+NTFS.cur_size], 1 |
1795 | mov [ebp+NTFS.cur_size], 1 |
1796 | call ntfs_read_attr |
1796 | call ntfs_read_attr |
1797 | jc ntfsFail |
1797 | jc ntfsFail |
1798 | mov ecx, [ebp+NTFS.cur_read] |
1798 | mov ecx, [ebp+NTFS.cur_read] |
1799 | mov [edi+ecx], ax |
1799 | mov [edi+ecx], ax |
1800 | cmp [ebx+8], eax |
1800 | cmp byte [ebx+8], 2 |
1801 | jnz .end |
1801 | jz .end |
1802 | mov esi, edi |
- | |
1803 | shr ecx, 1 |
1802 | shr ecx, 1 |
1804 | jz .end |
1803 | jz .end |
- | 1804 | mov esi, edi |
|
- | 1805 | cmp byte [ebx+8], 3 |
|
- | 1806 | jnz @f |
|
- | 1807 | shl ecx, 1 |
|
- | 1808 | call UTF16to8_string |
|
- | 1809 | mov byte [edi], 0 |
|
- | 1810 | jmp .end |
|
- | 1811 | ||
1805 | @@: |
1812 | @@: |
1806 | lodsw |
1813 | lodsw |
1807 | call uni2ansi_char |
1814 | call uni2ansi_char |
1808 | stosb |
1815 | stosb |
1809 | loop @b |
1816 | loop @b |