From b3034cbfca23b32951d9f12d58715158fcd93584 Mon Sep 17 00:00:00 2001 From: smf- Date: Sat, 5 Oct 2013 19:38:34 +0000 Subject: moved request sense command into t10spc, supporting the old obsolete format and the new one. [smf] --- src/emu/machine/t10sbc.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/emu/machine/t10sbc.c') diff --git a/src/emu/machine/t10sbc.c b/src/emu/machine/t10sbc.c index 70040bb3554..e9c89a80386 100644 --- a/src/emu/machine/t10sbc.c +++ b/src/emu/machine/t10sbc.c @@ -34,11 +34,6 @@ void t10sbc::ExecCommand() { switch ( command[0] ) { - case 0x03: // REQUEST SENSE - m_phase = SCSI_PHASE_DATAIN; - m_transfer_length = SCSILengthFromUINT8( &command[ 4 ] ); - break; - case 0x04: // FORMAT UNIT m_phase = SCSI_PHASE_STATUS; m_transfer_length = 0; @@ -123,8 +118,6 @@ void t10sbc::ExecCommand() void t10sbc::ReadData( UINT8 *data, int dataLength ) { - int i; - // if we're a drive without a disk, return all zeroes if (!disk) { @@ -134,14 +127,6 @@ void t10sbc::ReadData( UINT8 *data, int dataLength ) switch ( command[0] ) { - case 0x03: // REQUEST SENSE - data[0] = 0x80; // valid sense - for (i = 1; i < 12; i++) - { - data[i] = 0; - } - break; - case 0x12: // INQUIRY memset( data, 0, dataLength ); data[0] = 0x00; // device is direct-access (e.g. hard disk) -- cgit v1.2.3-70-g09d2