Rev 1161 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1161 | Rev 1198 | ||
---|---|---|---|
Line 381... | Line 381... | ||
381 | movzx eax,word [ebx+0xe] ; sectors reserved |
381 | movzx eax,word [ebx+0xe] ; sectors reserved |
382 | add eax,[PARTITION_START] |
382 | add eax,[PARTITION_START] |
383 | mov [FAT_START],eax ; fat_start = partition_start + reserved |
383 | mov [FAT_START],eax ; fat_start = partition_start + reserved |
Line 384... | Line 384... | ||
384 | 384 | ||
- | 385 | movzx eax,byte [ebx+0xd] ; sectors per cluster |
|
- | 386 | test eax,eax |
|
385 | movzx eax,byte [ebx+0xd] ; sectors per cluster |
387 | jz problem_fat_dec_count |
Line 386... | Line 388... | ||
386 | mov [SECTORS_PER_CLUSTER],eax |
388 | mov [SECTORS_PER_CLUSTER],eax |
- | 389 | ||
- | 390 | movzx ecx,word [ebx+0xb] ; bytes per sector |
|
387 | 391 | cmp ecx,0x200 |
|
Line 388... | Line 392... | ||
388 | movzx ecx,word [ebx+0xb] ; bytes per sector |
392 | jnz problem_fat_dec_count |
389 | mov [BYTES_PER_SECTOR],ecx |
393 | mov [BYTES_PER_SECTOR],ecx |
390 | 394 |