summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2020-08-22 15:51:36 +0300
committer Curt Coder <curtcoder@mail.com>2020-08-22 15:51:36 +0300
commita485a2ee716f4eb8e0a09ffd6abd4967f7f99aa5 (patch)
treebbbe55663ec6cc22e64daa6cb0270967710b7be7
parentf85348e97789d71dea86f65ec221773973a701eb (diff)
nscsi: Implemented REZERO command. [Curt Coder]
-rw-r--r--src/devices/machine/nscsi_bus.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/machine/nscsi_bus.cpp b/src/devices/machine/nscsi_bus.cpp
index 99de59881fe..60d7e54d2fd 100644
--- a/src/devices/machine/nscsi_bus.cpp
+++ b/src/devices/machine/nscsi_bus.cpp
@@ -630,6 +630,10 @@ void nscsi_full_device::scsi_unknown_command()
void nscsi_full_device::scsi_command()
{
switch(scsi_cmdbuf[0]) {
+ case SC_REZERO:
+ LOG("command REZERO\n");
+ scsi_status_complete(SS_GOOD);
+ break;
case SC_REQUEST_SENSE:
LOG("command REQUEST SENSE alloc=%d\n", scsi_cmdbuf[4]);
scsi_data_in(SBUF_SENSE, scsi_cmdbuf[4] ? std::min(scsi_cmdbuf[4], u8(sizeof(scsi_sense_buffer))) : 4);