bool SaveImageAs(const char * filename, uint8 driveNum = 0);
void CreateBlankImage(uint8 driveNum = 0);
void SwapImages(void);
+ const char * GetImageName(uint8 driveNum = 0);
+ void EjectImage(uint8 driveNum = 0);
+ bool DriveIsEmpty(uint8 driveNum = 0);
+ bool DiskIsWriteProtected(uint8 driveNum = 0);
+ void SetWriteProtect(bool, uint8 driveNum = 0);
// I/O functions ($C0Ex accesses)
uint32 diskSize[2];
uint8 diskType[2];
bool imageDirty[2];
+ bool writeProtected[2];
uint8 motorOn;
uint8 activeDrive;
uint8 ioMode;
static uint8 header[21];
static uint8 doSector[16];
static uint8 poSector[16];
+ static char nameBuf[MAX_PATH];
};
#endif // __FLOPPY_H__