h6. [[CDFSDriver]] h6(. » [[CDFSDriver SWI Calls|SWI Calls]] h6((. » CD_Inquiry h2. CD_Inquiry h5. (SWI &41255) |_<^{width:4em}. Entry | | |<^. R0 |<^. Pointer to "36 byte block":#block | |<^. R7 |<^. Pointer to [[CDFS Control Block]] | |_<^{width:4em}. Exit | | |<^. R0 |<^. Buffer updated| h4(#block). 36 Byte Block |_<^{width:4em}. Offset |_<^. Contents | |<^. 0 |<^. "Device Type":#devicetype | |<^. 4 |<^. Length of block - 4 | |<^. 5 - 6 |<^. Reserved | |<^. 7 |<^. "Interface Flags":#interfaceflags | |<^. 8 |<^. Vendor identification, space padded to 8 characters | |<^. 16 |<^. Product identification, space padded to 16 characters | |<^. 32 |<^. Product revision level, space padded to 4 characters | h4(#block). Device Type |_<^{width:4em}. Bit |_<^. Meaning| |\2<^. 0 - 4 Device Type | |<^. 0 |<^. Direct access device | |<^. 5 |<^. CD-ROM device | |<^. 7 |<^. Optical memory device | |<^. 8 |<^. Medium changer device | |\2<^. 5-7 Device qualifier | |<^. 0 |<^. Device is connected | |<^. 1 |<^. Device is not connected | |<^. 3 |<^. Target doesn't support any device| |<^. 15 |<^. Device is removable | |<^. 16 - 18 |<^. ANSI-approved version supported | |<^. 19 - 21 |<^. ECMA version supported | |<^. 22 - 23 |<^. ISO version supported | |\2<^. 24 - 27 Response format | |<^. 0 |<^. Follows SCSI I format | |<^. 1 |<^. Compatible with pre-SCSI I devices | |<^. 2 |<^. Follows SCSI II format | |<^. 28 - 29 |<^. Reserved | |<^. 30 |<^. Device supports Terminate I/O Process message | |<^. 31 |<^. Device supports asynchronous event notification | h4(#interfaceflags). Interface Flags |_<^{width:4em}. Bit |_<^. Meaning| |<^. 0 |<^. Device responds to the reset condition with soft reset | |<^. 1 |<^. Supports tagged command queuing | |<^. 2 |<^. Reserved | |<^. 3 |<^. Supports linked commands | |<^. 4 |<^. Supports synchronous data transfer | |<^. 5 |<^. Supports 16 bit data transfers | |<^. 6 |<^. Supports 32 bit data transfers | |<^. 7 |<^. Supports relative addressing mode | h4. Use The purpose of this call is to return the CD-ROM device information. h4. Notes Do not rely too much on some of the SCSI specific values making sense, as not all drives are true SCSI devices. h4. See also * [[CDFS Technical Details]]