Claims
- 1. In a disc drive having a disc formatted with a plurality of tracks, a read/write head positionable relative to the disc for reading from and writing to the disc, and circuitry for performing a method of storing values, the method comprising steps of:
(a) for each value greater than 2n−1, obtaining the difference between the value and a value k2n, wherein k is chosen as the smallest integer for the difference to be less than 2n; (b) storing the differences in a n-bit wide first memory in order of increasing magnitude of the values, wherein each of the differences is referenced by an address; and (c) for each k value, storing the address of the smallest difference in a second memory as an overflow address.
- 2. The method of claim 1 wherein the storing step (b) further includes steps of:
(d) providing a first address to a first difference, the first difference being obtained from a first value; and (e) assigning new addresses to the differences obtained from numbers greater than the first value.
- 3. The method of claim 2 further comprising, for each k value, a step (f) of replacing the overflow address with the new address of the smallest difference.
- 4. The method of claim 2 wherein the value is a cylinder number.
- 5. The method of claim 2 wherein the storing step (b) further includes steps of:
(g) obtaining an increment value by subtracting the first value from a second value, the second value being the largest value that is less than the first value; (h) for each difference obtained from a value greater than the first value, obtaining a new difference by adding the increment value to the difference; and (i) storing the new differences at the respective new addresses.
- 6. The method of claim 5 further comprising steps of:
(j) for each new difference that is equal to or greater than 2n, obtaining a third difference between the new difference and a value k2n, wherein k is chosen as the smallest integer for the third difference to be less than 2n; (k) storing the third differences at the respective new addresses; and (l) for each k value, storing the new address of the smallest third difference in the second memory as the overflow address.
- 7. The method of claim 5 wherein the value is an accumulative slip count.
- 8. In a disc drive having a disc formatted with a plurality of tracks, a read/write head positionable relative to the disc for reading from and writing to the disc, and circuitry for performing a method of retrieving a value, the method comprising steps of:
(a) comparing an address of a difference from a n-bit wide first memory with an overflow address stored in a second memory; and (b) adding 2n to the difference if the address is equal to or greater than the overflow address.
- 9. The method of claim 8 further comprising a step (c) of repeating the adding step (b) for each overflow address that is less than the address.
- 10. A disc drive comprising:
a n-bit wide memory; and means for storing values greater than 2n−1.
RELATED APPLICATIONS
[0001] The present application claims benefit of the U.S. provisional patent application No. 60/205,928, filed May 22, 2000.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60205928 |
May 2000 |
US |