mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 20:02:35 +03:00
fix FAT16 formatting in tmpdisk
git-svn-id: svn://kolibrios.org@3285 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
dbd7b62e8f
commit
790f4651cc
@ -74,7 +74,7 @@ format_disk_fat16:
|
|||||||
mov edx, eax
|
mov edx, eax
|
||||||
@@:
|
@@:
|
||||||
; 2. Zero all system areas on the disk.
|
; 2. Zero all system areas on the disk.
|
||||||
lea ecx, [256*(1+FAT16_ROOTDIR_SECTORS)/2+edx+255]
|
lea ecx, [256*(1+FAT16_ROOTDIR_SECTORS)+edx+255]
|
||||||
and ecx, not 255
|
and ecx, not 255
|
||||||
shr ecx, 1
|
shr ecx, 1
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
|
Loading…
Reference in New Issue
Block a user