Date: Fri, 18 Jan 2008 18:20:45 -0800
From: dwight elvey <dkelvey at hotmail.com>
For this, I need a little help. Since the 8 inch
drives were 32 sectored,
calculating tracks from a disk offset number was easy. 5.25 disk with 10
sectored will require something different. Is there an easy way to to
separate track from sector using Z80 code? Dwight
Do you mean "is there an easy way to divide by 10?". If so, yes:
0.100x = x/16+x/32+x/256+x/4096+x/8192
to about 0.04 percent (4 parts in 10,000). Truncate the series if
you need less accuracy. Ask if you need Z80 code.
Cheers,
Chuck