Home
last modified time | relevance | path

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

/sdk/emulator/mksdcard/src/source/
Dmksdcard.c42 #define RESERVED_SECTORS 32 macro
105 disk_size -= RESERVED_SECTORS * BYTES_PER_SECTOR; /* don't count 32 reserved sectors */ in get_sectors_per_fat()
130 POKES( boot + 0xe, RESERVED_SECTORS ); /* reserved sectors before first FAT */ in boot_sector_init()
307 if ( write_empty( f, RESERVED_SECTORS - 2 - BACKUP_BOOT_SECTOR ) ) goto FailWrite; in main()
309 else if ( write_empty( f, RESERVED_SECTORS - 2 ) ) goto FailWrite; in main()
317 if ( write_empty( f, sectors_per_disk - RESERVED_SECTORS - 2*sectors_per_fat ) ) goto FailWrite; in main()