]> 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 7fe310f2a4951bc5d01f34990d8a37907bb8c701..f92a99b9b3b6e3ef66789443ef9dcc8da62045b7 100755 (executable)
@@ -30,6 +30,8 @@ class FloppyDrive
                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)
 
@@ -53,6 +55,7 @@ class FloppyDrive
                uint32 diskSize[2];
                uint8 diskType[2];
                bool imageDirty[2];
+               bool writeProtected[2];
                uint8 motorOn;
                uint8 activeDrive;
                uint8 ioMode;