Somebody knows why the sectors of the IBM floppy disk are named 1 to 8 (and not 0 to 7 ) [closed]
I think you have a misconception that things regarding computers start at zero.
While this is the case with all C based languages (C, C++, C#, Java, etc) it is NOT true for some languages that are as old, or older than C (like FORTRAN and COBOL).
Since the Z80 was introduced before ANSI C, it was expected to be running much more COBOL and FORTRAN than Lisp (which is also very old, but has zero based indexing).
As such, the one based indexing makes sense.
The first specification on floppy disks was made by IBM with the appearance of the IBM 3740 and does not mention that there are sectors reserved for the system. The only reservation for the system is track 00, which stores only the "Data Set Labels" that identify the type of information stored in tracks 01 to 76. It clearly defines that the first sector is SECTOR 1. This is not a coincidence but a matter of natural numeration against the numbering of the computer.
We can observe that when a human begins to count anything, it does not begin with zero but one. For example, imagine that there are 135 students in a classroom. Counting the number would be something like that: One, two, three ... one hundred thirty four, one hundred and thirty five.
Its numerical representation would be thus: 1, 2, 3, ... 134, 135 So far we agree, right?
Now let's put the digits that are not represented by being 0. It would look like this: 001, 002, 003, ..., 015, 016, ..., 099, 100, ..., 133, 134, 135
This is what happens with CHS: 0,0,1 - 0,0,2 - 0,0,3...
It is significant that the rows in the Excel sheets or the auto-numeric fields in a database begin by 1 and not by 0 and nobody has said anything about this.
Did David J. Bradley schedule the BIOS that way?
Yes, but he wasn't out side.
Definitely there is no technical reason why SECTOR 0 can not be used unless it is reserved and hidden from users for other reasons. In principle everything points to it is a matter of natural numbering.
GA21-9152-2 File No. 3740-00,15
IBM 3740 Data Entry System
page 12
DISK INITIALIZATION
...Each disk contains two spare tracks to replace any irregular tracks. In addition, the initialization feature provides a means of altering the sequence of sector address on the diskette. Normally, the sequence of sectors is in numeric order (1, 2, 3, ... 25,26).
page 24
DATA LABELING ON THE DISKETTE
During initialization, the data set label for a data set is magnetically recorded on the index track (track 00) of the diskette. The primary purpose of this label is to show the location of the data set on the diskette
This was in 1973. It recorded data on an 8" diskette. The IBM PC 5150 was born on August 12, 1981... and we can not forget that they had to maintain some compatibility with the previous devices.
There was definitely no technical reason.