Rev 1378 | Rev 1400 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1378 | Rev 1379 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2008. 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: 1378 $ |
8 | $Revision: 1379 $ |
9 | 9 | ||
10 | 10 | ||
Line 93... | Line 93... | ||
93 | stc |
93 | stc |
94 | ret |
94 | ret |
Line 95... | Line 95... | ||
95 | 95 | ||
96 | ntfs_setup: ; CODE XREF: part_set.inc |
96 | ntfs_setup: ; CODE XREF: part_set.inc |
97 | ; By given bootsector, initialize some NTFS variables |
97 | ; By given bootsector, initialize some NTFS variables |
98 | ; call ntfs_test_bootsec |
98 | ; call ntfs_test_bootsec ; checking boot sector was already |
99 | ; jc problem_fat_dec_count |
99 | ; jc problem_fat_dec_count |
100 | movzx eax, byte [ebx+13] |
100 | movzx eax, byte [ebx+13] |
101 | mov [ntfs_data.sectors_per_cluster], eax |
101 | mov [ntfs_data.sectors_per_cluster], eax |
102 | mov eax, [ebx+0x28] |
102 | mov eax, [ebx+0x28] |
Line 1266... | Line 1266... | ||
1266 | ; ret ebx = blocks read or 0xffffffff folder not found |
1266 | ; ret ebx = blocks read or 0xffffffff folder not found |
1267 | ; eax = 0 ok read or other = errormsg |
1267 | ; eax = 0 ok read or other = errormsg |
1268 | ; |
1268 | ; |
1269 | ;-------------------------------------------------------------- |
1269 | ;-------------------------------------------------------------- |
1270 | ntfs_HdReadFolder: |
1270 | ntfs_HdReadFolder: |
1271 | xchg bx, bx |
- | |
1272 | mov eax, 5 ; root cluster |
1271 | mov eax, 5 ; root cluster |
1273 | cmp byte [esi], 0 |
1272 | cmp byte [esi], 0 |
1274 | jz .doit |
1273 | jz .doit |
1275 | call ntfs_find_lfn |
1274 | call ntfs_find_lfn |
1276 | jnc .doit2 |
1275 | jnc .doit2 |
Line 1812... | Line 1811... | ||
1812 | xor eax, eax |
1811 | xor eax, eax |
1813 | call ntfs_direntry_to_bdfe |
1812 | call ntfs_direntry_to_bdfe |
1814 | pop edi esi |
1813 | pop edi esi |
1815 | xor eax, eax |
1814 | xor eax, eax |
1816 | ret>=>=>=> |
1815 | ret>=>=>=> |
1817 | - |