![]() |
![]() |
| Home | Skelix OS | Programming | Reading Notes | Personal |
| Skelix OS Tutorial | ||
| Prev | Tutorial 07: File System |
Next |


| Bit 7 | controller is busy |
| Bit 6 | drive is ready when it is set |
| Bit 5 | write error |
| Bit 4 | seek completed |
| Bit 3 | sector buffer requires servicing |
| Bit 2 | disk data read corrected |
| Bit 1 | index - set to 1 each revolution |
| Bit 0 | previous command ended in an error |
| Bits 7-5 | must be 101b |
| Bit 4 | HD0(=0), HD1(=1) |
| Bits 3-0 | head number |
| HD_READ=0x20 | reading with retry if not successful |
| HD_WRITE=0x30 | writing with retry if not successful |
| Byte 0 | Boot indicator |
| Bytes 1-3 | CHS information |
| Byte 4 | Partition type |
| Bytes 5-7 | CHS information |
| Bytes 8-11 | Offset of staring sector |
| Bytes 12-16 |
Number of sectors in the partition |










| Prev | Home | Next |
| Up |