Author: | Pete Rittwage (registered user: 558 posts ) | |
Date: | Thu, Jun 28th, 2012 @ 08:31 ( . ) |
It will have an expected track size based on the density detected. /* To calculate the bytes per rotation: 4,000,000 * 60 b/minute = ------------------------------------------------ = x bytes/minute speed_zone_divisor * 8bits 4,000,000 is the base clock frequency divided by 4. 8 is the number of bits per byte. 60 gets us to a minute of data, which we can then divide by RPM to get our numbers. speed zone divisors are 13, 14, 15, 16 for densities 3, 2, 1, 0 respectively */ #define DENSITY3 2307692.308 // bytes per minute #define DENSITY2 2142857.143 #define DENSITY1 2000000.000 #define DENSITY0 1875000.000 Further divide this by the RPM (300) to get the number of bytes on a track that "should" be there. Now, if the disks were not written with a 1541, this will be inaccurate. It's already known that a trace duplicator will be a slightly different bitcell size that a 1541, but it's close. Also, we cannot always tell where a custom tracks starts and ends when written on a 1541, though. Well, at least I can't- maybe there are other methods to do so I haven't explored. |
--- 0 Users Online --- 0 Recent Unique Posters |