>absolute sector = (logical sector / sectors per track) + 1
>or
>absolute sector = (logical sector MOD sectors per track) + 1
Good question. x86 Assembly Language integer functions are the equivalent of a division operation where you will lose the remainder (actually saved into another register). Thus, I had written the equation under the assumption that the math would take place in integer form because I was not using the floating point unit.
RE: Good Article by VnutZ :: NR10 :: Show
>absolute sector = (logical sector / sectors per track) + 1
>or
>absolute sector = (logical sector MOD sectors per track) + 1
Good question. x86 Assembly Language integer functions are the equivalent of a division operation where you will lose the remainder (actually saved into another register). Thus, I had written the equation under the assumption that the math would take place in integer form because I was not using the floating point unit.