The example shows the use of the functions, biosdisk and _bios_disk. The biosdisk function check if the disk is ready or not and address mark is found. The _bios_disk function reads the sectors of the both sides up to four tracks.
The sequence of reading (or writing) at the surface of the disk should be as follows:
Step no. |
Reading Sequence |
1. |
Read Track 0
{
Read Head 0
{
Read Sectors from 1 to 18
}
} |
2. |
Read Track 0
{
Read Head 1
{
Read Sectors from 1 to 18
}
} |
3. |
Read Track 1
{
Read Head 0
{
Read Sectors from 1 to 18
}
} |
4. |
Read Track 1
{
Read Head 1
{
Read Sectors from 1 to 18
}
} |
5. |
Read Track 2
{
Read Head 0
{
Read Sectors from 1 to 18
}
} |
...........And So On.............. |
|