Home | History | Annotate | Download | only in mksdcard

Lines Matching full:sectors

105     disk_size -= RESERVED_SECTORS * BYTES_PER_SECTOR;  /* don't count 32 reserved sectors */
106 disk_size /= BYTES_PER_SECTOR; /* disk size in sectors */
129 POKEB( boot + 0xd, sectors_per_cluster ); /* sectors per cluster */
130 POKES( boot + 0xe, RESERVED_SECTORS ); /* reserved sectors before first FAT */
133 POKES( boot + 0x13, 0 ); /* total sectors, 0 to use 32-bit value at offset 0x20 */
135 POKES( boot + 0x16, 0 ); /* Sectors per FAT for FAT12/16, 0 for FAT32 */
136 POKES( boot + 0x18, 9 ); /* Sectors per track (whatever) */
138 POKEW( boot + 0x1c, 0 ); /* Hidden sectors */
139 POKEW( boot + 0x20, sectors_per_disk ); /* Total sectors */
142 POKEW( boot + 0x24, sectors_per_fat ); /* Sectors per FAT */
295 * RESERVED_SECTORS - 4 empty sectors (if backup sectors), or RESERVED_SECTORS - 2 (if no backup)
298 * zero sectors