Previous 199869 Revisions Next

r17731 Saturday 8th September, 2012 at 19:27:44 UTC by smf
removed test ready command as scsidev already handles it. (nw)
[src/emu/machine]scsibus.c scsibus.h

trunk/src/emu/machine/scsibus.c
r17730r17731
271271   // Check for locally executed commands, and if found execute them
272272   switch (command[0])
273273   {
274      // Test ready
275      case SCSI_CMD_TEST_READY:
276         LOG(1,"SCSIBUS: test_ready\n");
277         command_local=1;
278         xfer_count=0;
279         data_last=xfer_count;
280         bytes_left=0;
281         devices[last_id]->SetPhase(SCSI_PHASE_STATUS);
282         break;
283
284274      // Recalibrate drive
285275      case SCSI_CMD_RECALIBRATE:
286276         LOG(1,"SCSIBUS: Recalibrate drive\n");
trunk/src/emu/machine/scsibus.h
r17730r17731
4545#define ADAPTEC_BUF_SIZE         1024
4646
4747// scsidev
48#define SCSI_CMD_TEST_READY         0x00
4948#define SCSI_CMD_RECALIBRATE      0x01
5049#define SCSI_CMD_REQUEST_SENSE      0x03
5150#define SCSI_CMD_MODE_SELECT       0x15

Previous 199869 Revisions Next


© 1997-2024 The MAME Team