forked from KolibriOS/kolibrios
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
|
||||
@@:
|
||||
; 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
|
||||
shr ecx, 1
|
||||
xor eax, eax
|
||||
|
Loading…
Reference in New Issue
Block a user