Subversion Repositories Kolibri OS

Rev

Rev 4429 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4429 Rev 5116
Line 42... Line 42...
42
;;  20.5.2002  Hd status check - VT                                ;;
42
;;  20.5.2002  Hd status check - VT                                ;;
43
;;  29.6.2002  Improved fat32 verification - VT                    ;;
43
;;  29.6.2002  Improved fat32 verification - VT                    ;;
44
;;                                                                 ;;
44
;;                                                                 ;;
45
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
45
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 46... Line 46...
46
 
46
 
Line 47... Line 47...
47
$Revision: 4273 $
47
$Revision: 5089 $
Line 48... Line 48...
48
 
48
 
Line 152... Line 152...
152
        pop     ebp
152
        pop     ebp
153
fat_create_partition.return0:
153
fat_create_partition.return0:
154
        xor     eax, eax
154
        xor     eax, eax
155
        ret
155
        ret
156
fat_create_partition:
156
fat_create_partition:
-
 
157
; sector size must be 512
-
 
158
        cmp     dword [esi+DISK.MediaInfo.SectorSize], 512
-
 
159
        jnz     .return0
157
; bootsector must have been successfully read
160
; bootsector must have been successfully read
158
        cmp     dword [esp+4], 0
161
        cmp     dword [esp+4], 0
159
        jnz     .return0
162
        jnz     .return0
160
; bootsector signature must be correct
163
; bootsector signature must be correct
161
        cmp     word [ebx+0x1fe], 0xaa55
164
        cmp     word [ebx+0x1fe], 0xaa55