Procházet zdrojové kódy

Added Xebec Support

Added Xebec support by porting code from SCSI2SD V5 firmware.   This code supports the First Class Peripherals Sider hard disk for Apple II
peclark1 před 1 rokem
rodič
revize
304656e8aa
3 změnil soubory, kde provedl 15 přidání a 0 odebrání
  1. binární
      .DS_Store
  2. 13 0
      src/ZuluSCSI_disk.cpp
  3. 2 0
      src/ZuluSCSI_log_trace.cpp

binární
.DS_Store


+ 13 - 0
src/ZuluSCSI_disk.cpp

@@ -1947,6 +1947,19 @@ int scsiDiskCommand()
         commandHandled = scsiModeCommand();
         blockDev.state &= ~DISK_WP;
     }
+    else if (unlikely(command == 0xE0))
+    {
+        // RAM Diagnostic
+        // XEBEC S1410 controller
+        // http://bitsavers.informatik.uni-stuttgart.de/pdf/xebec/104524C_S1410Man_Aug83.pdf
+        // Stub, return success
+    }
+    else if (unlikely(command == 0xE4))
+    {
+        // Drive Diagnostic
+        // XEBEC S1410 controller
+        // Stub, return success
+    }       
     else
     {
         commandHandled = 0;

+ 2 - 0
src/ZuluSCSI_log_trace.cpp

@@ -100,6 +100,8 @@ static const char *getCommandName(uint8_t cmd)
         case 0xA8: return "Read12";
         case 0xC0: return "OMTI-5204 DefineFlexibleDiskFormat";
         case 0xC2: return "OMTI-5204 AssignDiskParameters";
+        case 0xE0: return "RAM Diagnostic";
+        case 0xE4: return "Drive Diagnostic";    
         default:   return "Unknown";
     }
 }