Sfoglia il codice sorgente

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 1 anno fa
parent
commit
304656e8aa
3 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  1. BIN
      .DS_Store
  2. 13 0
      src/ZuluSCSI_disk.cpp
  3. 2 0
      src/ZuluSCSI_log_trace.cpp

BIN
.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";
     }
 }