Posted: Mon Jun 30, 2008 2:02 pm
In the fd011520.img file, sectors per cluster is 8, not 240...so how do you get 240?
UBCD Forums
http://www.ultimatebootcd.com/forums/
christ, how did i do this math (i'm an engineer too). :phoohooslax wrote:In the fd011520.img file, sectors per cluster is 8, not 240...so how do you get 240?
Code: Select all
capacity(bytes) = cylinders * number of heads per cylinder * number of sectors per head * 512(bytes per sector)
Code: Select all
capacity(KB) = 11,520 KB
capacity(in bytes) = 11,520*1024 = 11,796,480
Code: Select all
c = capacity(bytes) / number of heads / number of sectors / bytes per sector
= 11,796,480 / 8 / 36 / 512 (bytes per sector)
= 80
Code: Select all
80(c) * 4(h) * 36(s) * 512(bytes per sector) = 5,898,240 bytes (or 5760Kb)
Code: Select all
57,543,680 (capacity in bytes) / 63 (sectors per track) / 255 (heads) / 512 (bytes per sector) = approx 7.