diff options
Diffstat (limited to 'src/devices/bus/nscsi/s1410.h')
-rw-r--r-- | src/devices/bus/nscsi/s1410.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/devices/bus/nscsi/s1410.h b/src/devices/bus/nscsi/s1410.h index bd44a53c830..c3341357a63 100644 --- a/src/devices/bus/nscsi/s1410.h +++ b/src/devices/bus/nscsi/s1410.h @@ -43,7 +43,7 @@ protected: // SCSI commands enum { SC_TEST_UNIT_READY = 0x00, - SC_REZERO = 0x01, + SC_REZERO_UNIT = 0x01, SC_REQUEST_SENSE = 0x03, SC_FORMAT_UNIT = 0x04, SC_CHECK_TRACK_FORMAT = 0x05, @@ -64,11 +64,21 @@ protected: SC_WRITE_LONG = 0xe6 }; + // SCSI sense keys + enum { + SK_NO_ERROR = 0x00, + SK_DRIVE_NOT_READY = 0x04, + SK_FORMAT_ERROR = 0x1a + }; + virtual void device_reset() override; + virtual bool scsi_command_done(uint8_t command, uint8_t length) override; virtual void scsi_command() override; virtual uint8_t scsi_get_data(int id, int pos) override; virtual void scsi_put_data(int buf, int offset, uint8_t data) override; + virtual attotime scsi_data_byte_period() override; + virtual attotime scsi_data_command_delay() override; uint8_t params[8]; }; |