Section 17.4: Disk addressing (Frame 2)                     [prev][home][next]

Modern computers almost never manage the direct reading or writing of the platter surfaces but instead relegate this to a controller, a tiny computer whose sole responsibility is to respond to commands from the main computer and then carry out the desired operation by issuing microcommands to the actual hardware. One of the reasons for doing it this way is that the same disk drive can be used in different computers without redesign. The main task would be to write a device driver for the main operating system, a piece of software that translates high-level I/O commands that the operating system issues into commands that the disk drive controller understands. Then the controller issues the microcommands to the stepper motor and the read/write head and spaces out these actions in time so that the data gets properly read or written to the surface.