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