Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 1377 → Rev 1378

/kernel/trunk/fs/ntfs.inc
8,7 → 8,7
$Revision$
 
 
ntfs_test_bootsec:
ntfs_test_bootsec:
; in: ebx->buffer, edx=size of partition
; out: CF set <=> invalid
; 1. Name=='NTFS '
95,8 → 95,8
 
ntfs_setup: ; CODE XREF: part_set.inc
; By given bootsector, initialize some NTFS variables
call ntfs_test_bootsec
jc problem_fat_dec_count
; call ntfs_test_bootsec
; jc problem_fat_dec_count
movzx eax, byte [ebx+13]
mov [ntfs_data.sectors_per_cluster], eax
mov eax, [ebx+0x28]
1267,7 → 1267,8
; eax = 0 ok read or other = errormsg
;
;--------------------------------------------------------------
ntfs_HdReadFolder:
ntfs_HdReadFolder:
xchg bx, bx
mov eax, 5 ; root cluster
cmp byte [esi], 0
jz .doit
1812,4 → 1813,5
call ntfs_direntry_to_bdfe
pop edi esi
xor eax, eax
ret
ret