]> Shamusworld >> Repos - apple2/blobdiff - src/floppy.h
Changes to sound system relating to the new threaded CPU core. It works,
[apple2] / src / floppy.h
index d0207ca8fb3d26ee66ad7a26418b8215bb361182..f92a99b9b3b6e3ef66789443ef9dcc8da62045b7 100755 (executable)
@@ -27,6 +27,11 @@ class FloppyDrive
                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)
 
@@ -50,6 +55,7 @@ class FloppyDrive
                uint32 diskSize[2];
                uint8 diskType[2];
                bool imageDirty[2];
+               bool writeProtected[2];
                uint8 motorOn;
                uint8 activeDrive;
                uint8 ioMode;
@@ -64,6 +70,7 @@ class FloppyDrive
                static uint8 header[21];
                static uint8 doSector[16];
                static uint8 poSector[16];
+               static char nameBuf[MAX_PATH];
 };
 
 #endif // __FLOPPY_H__