Public Member Functions |
| localDrive (const char *startdir, Bit16u _bytes_sector, Bit8u _sectors_cluster, Bit16u _total_clusters, Bit16u _free_clusters, Bit8u _mediaid, std::vector< std::string > &options) |
virtual bool | FileOpen (DOS_File **file, const char *name, Bit32u flags) |
virtual FILE * | GetSystemFilePtr (char const *const name, char const *const type) |
virtual bool | GetSystemFilename (char *sysName, char const *const dosName) |
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 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 | 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) |
virtual char const * | GetLabel () |
virtual void | SetLabel (const char *label, bool iscdrom, bool updatable) |
virtual void * | opendir (const char *name) |
virtual void | closedir (void *handle) |
virtual bool | read_directory_first (void *handle, char *entry_name, char *entry_sname, bool &is_directory) |
virtual bool | read_directory_next (void *handle, char *entry_name, char *entry_sname, bool &is_directory) |
virtual void | EmptyCache (void) |
virtual void | MediaChange () |
const char * | getBasedir () |
Public Attributes |
int | remote = -1 |
char | srch_dir [CROSS_LEN] |
Bit16u | bytes_sector |
Bit8u | sectors_cluster |
Bit16u | total_clusters |
Bit16u | free_clusters |
Bit8u | mediaid |
Protected Attributes |
DOS_Drive_Cache | dirCache |
char | basedir [CROSS_LEN] |
struct { |
char srch_dir [CROSS_LEN] |
} | srchInfo [MAX_OPENDIRS] |
struct { |
Bit16u bytes_sector |
Bit8u sectors_cluster |
Bit16u total_clusters |
Bit16u free_clusters |
Bit8u mediaid |
} | allocation |
Friends |
void | DOS_Shell::CMD_SUBST (char *args) |
Definition at line 60 of file drives.h.