Changeset de4a1cf in mainline for tools/mkfat.py
- Timestamp:
- 2008-10-27T20:54:44Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0951495
- Parents:
- 95b730c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/mkfat.py
r95b730c2 rde4a1cf 388 388 boot_sector.fats = fat_count 389 389 boot_sector.rootdir = root_size / dirent_size 390 boot_sector.sectors = (sectors if (sectors <= 65535) else 0) 390 if (sectors <= 65535): 391 boot_sector.sectors = sectors 392 else: 393 boot_sector.sectors = 0 391 394 boot_sector.descriptor = 0xF8 392 395 boot_sector.fat_sectors = fat_size / sector_size … … 394 397 boot_sector.heads = 6 395 398 boot_sector.hidden = 0 396 boot_sector.sectors_big = (sectors if (sectors > 65535) else 0) 399 if (sectors > 65535): 400 boot_sector.sectors_big = sectors 401 else: 402 boot_sector.sectors_big = 0 397 403 398 404 boot_sector.drive = 0x80
Note:
See TracChangeset
for help on using the changeset viewer.