Thomas Harte wrote:
Hmmm, so Sam DOS numbers tracks from 0, but sectors from 1? Or am I
suffering a deficit of logic?

Yes.
sectors are 1-10. tracks are 0-79

the fun part (that used to throw many people) is the head selection.
sam has:
sector #        C H S (cyl, head, sect)
1               0 0 1
2               0 0 2
3               0 0 3
4               0 0 4
5               0 0 5
6               0 0 6
7               0 0 7
8               0 0 8
9               0 0 9
10              0 0 10
11              1 0 1
12              1 0 2
13              1 0 3
14              1 0 4
15              1 0 5
....
....
795             79 0 5
796             79 0 6
797             79 0 7
798             79 0 8
799             79 0 9
800             79 0 10
801             0  1 1
802             0  1 2
803             0  1 3
804             0  1 4
....
....
1596            79 1 6
1597            79 1 7
1598            79 1 8
1599            79 1 9
1600            79 1 10

Nev



Reply via email to