You can easily add the 'Hello World' program given
before to this boot-sector. You'd now have a boot-disk that says 'hello
world' when it starts up! You might need more info to do other neat little things. For /p> ....now, the head is set to 0 again and cylinder is incremented LBA#
37
cylinder 1 head 0 sector 1 one important point to keep in mind is that there is no sector 0, while there exist cylinder 0 and head 0.
In order to read or write a disk you must
know what head, cylinder and sector to use. This creates problems with Linear
Block Addressing (LBA). You can figure out what LBA numbers are if you look
above. LBA is the sequence number of Cylinder, Head, and Sector group
(also called CHS).
|