Home
last modified time | relevance | path

Searched refs:sectors_per_fat (Results 1 – 1 of 1) sorted by relevance

/sdk/emulator/mksdcard/src/source/
Dmksdcard.c116 int sectors_per_fat = get_sectors_per_fat(disk_size, sectors_per_cluster); in boot_sector_init() local
142 POKEW( boot + 0x24, sectors_per_fat ); /* Sectors per FAT */ in boot_sector_init()
158 free_count = sectors_per_disk - 32 - 2*sectors_per_fat; in boot_sector_init()
224 int sectors_per_fat; in main() local
277 sectors_per_fat = get_sectors_per_fat( disk_size, get_sectors_per_cluster( disk_size ) ); in main()
312 if ( write_empty( f, sectors_per_fat-1 ) ) goto FailWrite; in main()
315 if ( write_empty( f, sectors_per_fat-1 ) ) goto FailWrite; in main()
317 if ( write_empty( f, sectors_per_disk - RESERVED_SECTORS - 2*sectors_per_fat ) ) goto FailWrite; in main()