From e50efb8f59d6c68b68d6df0b9e38e7d7a2444b1a Mon Sep 17 00:00:00 2001 From: Patrick Mackinlay Date: Thu, 16 May 2019 13:09:41 +0700 Subject: nscsi_hd: verify stub (nw) Windows NT setup uses the VERIFY command (without data comparison). --- src/devices/machine/nscsi_hd.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/devices/machine/nscsi_hd.cpp b/src/devices/machine/nscsi_hd.cpp index 6684942c9d6..5d320a75158 100644 --- a/src/devices/machine/nscsi_hd.cpp +++ b/src/devices/machine/nscsi_hd.cpp @@ -508,6 +508,14 @@ void nscsi_harddisk_device::scsi_command() scsi_status_complete(SS_GOOD); break; + case SC_VERIFY: + LOG("command VERIFY BytChk %d\n", !!(scsi_cmdbuf[1] & 0x02)); + if (!(scsi_cmdbuf[1] & 0x02)) + scsi_status_complete(SS_GOOD); + else + scsi_unknown_command(); + break; + default: LOG("command %02x ***UNKNOWN***\n", scsi_cmdbuf[0]); nscsi_full_device::scsi_command(); -- cgit v1.2.3