// retrieve data from the SCSI controller void am53cf96_read_data(int bytes, UINT8 *pData) { scsi_regs[REG_STATUS] |= 0x10; // indicate DMA finished if (devices[last_id]) { SCSIReadData( devices[last_id], pData, bytes ); } else { logerror("53cf96: request for unknown device SCSI ID %d\n", last_id); } }
static void wd33c93_read_data(int bytes, UINT8 *pData) { UINT8 unit = wd33c93_getunit(); if ( devices[unit] ) { SCSIReadData( devices[unit], pData, bytes ); } else { logerror("wd33c93: request for unknown device SCSI ID %d\n", unit); } }