Public Types |
enum | IMAGE_TYPE {
ID_BASE = 0,
ID_EL_TORITO_FLOPPY,
ID_VFD,
ID_MEMORY,
ID_VHD,
ID_D88,
ID_NFD
} |
Public Member Functions |
virtual Bit8u | Read_Sector (Bit32u head, Bit32u cylinder, Bit32u sector, void *data, unsigned int req_sector_size=0) |
virtual Bit8u | Write_Sector (Bit32u head, Bit32u cylinder, Bit32u sector, const void *data, unsigned int req_sector_size=0) |
virtual Bit8u | Read_AbsoluteSector (Bit32u sectnum, void *data) |
virtual Bit8u | Write_AbsoluteSector (Bit32u sectnum, const void *data) |
virtual void | Set_Reserved_Cylinders (Bitu resCyl) |
virtual Bit32u | Get_Reserved_Cylinders () |
virtual void | Set_Geometry (Bit32u setHeads, Bit32u setCyl, Bit32u setSect, Bit32u setSectSize) |
virtual void | Get_Geometry (Bit32u *getHeads, Bit32u *getCyl, Bit32u *getSect, Bit32u *getSectSize) |
virtual Bit8u | GetBiosType (void) |
virtual Bit32u | getSectSize (void) |
| imageDisk (FILE *imgFile, Bit8u *imgName, Bit32u imgSizeK, bool isHardDisk) |
| imageDisk (FILE *diskimg, const char *diskName, Bit32u cylinders, Bit32u heads, Bit32u sectors, Bit32u sector_size, bool hardDrive) |
int | Addref () |
int | Release () |
Public Attributes |
IMAGE_TYPE | class_id = ID_BASE |
std::string | diskname |
bool | active = false |
Bit32u | sector_size = 512 |
Bit32u | heads = 0 |
Bit32u | cylinders = 0 |
Bit32u | sectors = 0 |
bool | hardDrive = false |
Bit64u | diskSizeK = 0 |
Protected Member Functions |
| imageDisk (IMAGE_TYPE class_id) |
Protected Attributes |
FILE * | diskimg = NULL |
Bit8u | floppytype = 0 |
Bit32u | reserved_cylinders = 0 |
Bit64u | image_base = 0 |
Bit64u | image_length = 0 |
Definition at line 53 of file bios_disk.h.