mirror of
https://github.com/akuker/RASCSI.git
synced 2026-04-21 02:17:25 +00:00
Say hello to Streamer (tape) device support
Implements the mandatory and a few optional commands for tandberd see https://bitsavers.org/pdf/tandbergData/TDC4100/6047-1_TDC-4100_SCSI-2_Interface_Functional_Specification_Aug1991.pdf for more info. Fixed #480
This commit is contained in:
committed by
Daniel Markstedt
parent
65e2729190
commit
a985fc83e4
@@ -104,12 +104,7 @@ void scsi_command_util::AddAppleVendorModePage(map<int, vector<byte>>& pages, bo
|
||||
}
|
||||
}
|
||||
|
||||
int scsi_command_util::GetInt24(span <const int> buf, int offset)
|
||||
{
|
||||
assert(buf.size() > static_cast<size_t>(offset) + 2);
|
||||
|
||||
return (buf[offset] << 16) | (buf[offset + 1] << 8) | buf[offset + 2];
|
||||
}
|
||||
|
||||
uint32_t scsi_command_util::GetInt32(span <const int> buf, int offset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user