]> 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 29043439b5b1ac826c0a998dc75beb012a31d78c..f92a99b9b3b6e3ef66789443ef9dcc8da62045b7 100755 (executable)
@@ -28,6 +28,10 @@ class FloppyDrive
                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)
 
@@ -51,6 +55,7 @@ class FloppyDrive
                uint32 diskSize[2];
                uint8 diskType[2];
                bool imageDirty[2];
+               bool writeProtected[2];
                uint8 motorOn;
                uint8 activeDrive;
                uint8 ioMode;