DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Classes | Public Member Functions | Public Attributes | Friends
fatDrive Class Reference
Inheritance diagram for fatDrive:
DOS_Drive

List of all members.

Classes

struct  lfnRange_t

Public Member Functions

 fatDrive (const char *sysFilename, Bit32u bytesector, Bit32u cylsector, Bit32u headscyl, Bit32u cylinders, std::vector< std::string > &options)
 fatDrive (imageDisk *sourceLoadedDisk, std::vector< std::string > &options)
void fatDriveInit (const char *sysFilename, Bit32u bytesector, Bit32u cylsector, Bit32u headscyl, Bit32u cylinders, Bit64u filesize, const std::vector< std::string > &options)
virtual bool FileOpen (DOS_File **file, const char *name, Bit32u flags)
virtual bool FileCreate (DOS_File **file, const char *name, Bit16u attributes)
virtual bool FileUnlink (const char *name)
virtual bool RemoveDir (const char *dir)
virtual bool MakeDir (const char *dir)
virtual bool TestDir (const char *dir)
virtual bool FindFirst (const char *_dir, DOS_DTA &dta, bool fcb_findfirst=false)
virtual bool FindNext (DOS_DTA &dta)
virtual bool SetFileAttr (const char *name, Bit16u attr)
virtual bool GetFileAttr (const char *name, Bit16u *attr)
virtual bool GetFileAttrEx (char *name, struct stat *status)
virtual unsigned long GetCompressedSize (char *name)
virtual unsigned long GetSerial ()
virtual bool Rename (const char *oldname, const char *newname)
virtual bool AllocationInfo (Bit16u *_bytes_sector, Bit8u *_sectors_cluster, Bit16u *_total_clusters, Bit16u *_free_clusters)
virtual bool AllocationInfo32 (Bit32u *_bytes_sector, Bit32u *_sectors_cluster, Bit32u *_total_clusters, Bit32u *_free_clusters)
virtual bool FileExists (const char *name)
virtual bool FileStat (const char *name, FileStat_Block *const stat_block)
virtual Bit8u GetMediaByte (void)
virtual bool isRemote (void)
virtual bool isRemovable (void)
virtual Bits UnMount (void)
Bit8u readSector (Bit32u sectnum, void *data)
Bit8u writeSector (Bit32u sectnum, void *data)
Bit32u getAbsoluteSectFromBytePos (Bit32u startClustNum, Bit32u bytePos)
Bit32u getSectorSize (void)
Bit32u getClusterSize (void)
Bit32u getAbsoluteSectFromChain (Bit32u startClustNum, Bit32u logicalSector)
bool allocateCluster (Bit32u useCluster, Bit32u prevCluster)
Bit32u appendCluster (Bit32u startCluster)
void deleteClustChain (Bit32u startCluster, Bit32u bytePos)
Bit32u getFirstFreeClust (void)
bool directoryBrowse (Bit32u dirClustNumber, direntry *useEntry, Bit32s entNum, Bit32s start=0)
bool directoryChange (Bit32u dirClustNumber, const direntry *useEntry, Bit32s entNum)
const FAT_BootSector::bpb_union_tGetBPB (void)
void SetBPB (const FAT_BootSector::bpb_union_t &bpb)
virtual Bit8u Read_AbsoluteSector (Bit32u sectnum, void *data)
virtual Bit8u Write_AbsoluteSector (Bit32u sectnum, void *data)
virtual Bit32u getSectSize (void)
virtual Bit32u GetSectorCount (void)
virtual Bit32u GetSectorSize (void)
virtual Bit8u Read_AbsoluteSector_INT25 (Bit32u sectnum, void *data)
virtual Bit8u Write_AbsoluteSector_INT25 (Bit32u sectnum, void *data)
virtual void UpdateDPB (unsigned char dos_drive)
virtual char const * GetLabel ()
virtual void SetLabel (const char *label, bool iscdrom, bool updatable)
virtual void UpdateBootVolumeLabel (const char *label)
virtual Bit32u GetPartitionOffset (void)
virtual Bit32u GetFirstClusterOffset (void)
virtual Bit32u GetHighestClusterNumber (void)

Public Attributes

imageDiskloadedDisk = NULL
uint8_t req_ver_major = 0
uint8_t req_ver_minor = 0
bool created_successfully = true
Bit32u sector_size = 0
char srch_dir [CROSS_LEN]
Bit16u bytes_sector
Bit8u sectors_cluster
Bit16u total_clusters
Bit16u free_clusters
Bit8u mediaid

Friends

void DOS_Shell::CMD_SUBST (char *args)

Detailed Description

Definition at line 367 of file drives.h.


The documentation for this class was generated from the following files: