![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <filesystem.h>
Data Fields | |
| uint8_t | bootindicator |
| 80 for active partition | |
| uint8_t | starthead |
| Either Bits 0-3 only or Bits 0-7 depending on BIOS. | |
| uint8_t | startsector |
| Bits 0-5 = Sector, Bits 6-7 = Bits 8-9 of Cylinder. | |
| uint8_t | startcylinder |
| Bits 0-7 Only, Bits 8-9 in Sector. | |
| uint8_t | typeindicator |
| See Table in Interrupt List and Below. | |
| uint8_t | endhead |
| Either Bits 0-3 only or Bits 0-7 depending on BIOS. | |
| uint8_t | endsector |
| Bits 0-5 = Sector, Bits 6-7 = Bits 8-9 of Cylinder. | |
| uint8_t | endcylinder |
| Bits 0-7 Only, Bits 8-9 in Sector. | |
| uint32_t | sectoroffset |
| Offset in sectors from current position to Start of Partition. | |
| uint32_t | sectorcount |
| Size in Sectors of the Partition. | |
Partition types
| uint8_t bootindicator |
80 for active partition
| uint8_t starthead |
Either Bits 0-3 only or Bits 0-7 depending on BIOS.
| uint8_t startsector |
Bits 0-5 = Sector, Bits 6-7 = Bits 8-9 of Cylinder.
| uint8_t startcylinder |
Bits 0-7 Only, Bits 8-9 in Sector.
| uint8_t typeindicator |
See Table in Interrupt List and Below.
| uint8_t endhead |
Either Bits 0-3 only or Bits 0-7 depending on BIOS.
| uint8_t endsector |
Bits 0-5 = Sector, Bits 6-7 = Bits 8-9 of Cylinder.
| uint8_t endcylinder |
Bits 0-7 Only, Bits 8-9 in Sector.
| uint32_t sectoroffset |
Offset in sectors from current position to Start of Partition.
| uint32_t sectorcount |
Size in Sectors of the Partition.