flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
zhak 30 Dec 2007, 17:35
Ah, yes. I've got one more question about FAT...
MS FAT32 FS Spec (ver 1.03 - Dec 6, 2000) pg. 13: Quote:
Does it really rounds up? And why is it computed in such way??? For example, we have standard FAT12 floppy disk with 224 root directory entries and 512 bytes per sector. Then RootDirSectors = ((224 * 32)+(512-1)) / 512 = 14,99 it seems that root directory has to have 14 sectors (224 * 32 / 512). Why can't we use this simple formula? Or I'm mistaken and in the example above RootDirSectors is actually 15, but not 14??? But if it's so, then for FAT32 this parameter cannot be equal to zero, as it's written in specification, because for FAT32 we have RootDirSectors = ((0 * 32) + (512-1)) / 512 = 0,99 |
|||
![]() |
|
DOS386 31 Dec 2007, 00:39
1. A FAT12 floppy is really bad to explore FAT32
![]() 2. It is ZERO because on FAT32 the main directory can be anywhere in the data area and can grow ![]() |
|||
![]() |
|
zhak 31 Dec 2007, 09:33
1. I do not explore FAT32 on floppy disk. I explore FAT in general to write: a) FORMAT program, that will be able to create system disks for my OS, and b) boot sector that will work on ANY FAT12/16 volume.
2. Yes, I know why RootDirSectors = 0 on FAT32. My questions were a little bit different. Nevertheless, thanks for your reply. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.