summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nscsi_cd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/nscsi_cd.cpp')
-rw-r--r--src/devices/machine/nscsi_cd.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/devices/machine/nscsi_cd.cpp b/src/devices/machine/nscsi_cd.cpp
index 0446c600e9f..b58a179161a 100644
--- a/src/devices/machine/nscsi_cd.cpp
+++ b/src/devices/machine/nscsi_cd.cpp
@@ -378,6 +378,22 @@ void nscsi_cdrom_device::scsi_command()
scsi_cmdbuf[pos++] = 0x00; // Double meh
break;
+ case 0x01: // Read-write error recovery
+ scsi_cmdbuf[pos++] = 0x01; // PS, page id
+ scsi_cmdbuf[pos++] = 0x0a; // Page length
+ scsi_cmdbuf[pos++] = 0x01;
+ scsi_cmdbuf[pos++] = 0x01;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ scsi_cmdbuf[pos++] = 0x00;
+ break;
+
case 0x02: // Disconnect/reconnect control parameters (guessed)
scsi_cmdbuf[pos++] = 0x82; // PS, page id
scsi_cmdbuf[pos++] = 0x0e; // Page length