浏览代码

Add debug to SCSI selection

Petteri Aimonen 3 年之前
父节点
当前提交
f9543cb0d0
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/AzulSCSI.cpp

+ 4 - 1
src/AzulSCSI.cpp

@@ -998,7 +998,10 @@ void scsi_loop()
 
   // BSY+ SEL-
   // If the ID to respond is not driven, wait for the next
-  uint8_t scsiid = SCSI_IN_DATA() & g_scsi_id_mask;
+  uint8_t scsi_id_in = SCSI_IN_DATA();
+  azdbg("------------ SCSI selection id ", scsi_id_in);
+  
+  uint8_t scsiid = scsi_id_in & g_scsi_id_mask;
   if (scsiid == 0) {
     return; // Not for us
   }