Преглед на файлове

Add some info around how START/STOP is handled with ZIP drives

Troy преди 1 година
родител
ревизия
b4975175a8
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 5 2
      src/BlueSCSI_disk.cpp

+ 5 - 2
src/BlueSCSI_disk.cpp

@@ -1878,9 +1878,11 @@ int scsiDiskCommand()
         // Enable or disable media access operations.
         //int immed = scsiDev.cdb[1] & 1;
         int start = scsiDev.cdb[4] & 1;
-        
+
         if (scsiDev.target->cfg->deviceType == S2S_CFG_ZIP100)
         {
+            // If it's a ZIP drive, it likes to eject all the time so this
+            // little dance helps keep a disc loaded
             if (start)
             {
                 scsiDev.target->started = 1;
@@ -1890,7 +1892,8 @@ int scsiDiskCommand()
                 scsiDev.target->started = 0;
             }
         }
-        else {
+        else
+        {
             scsiDev.target->started = 1;
         }
     }