AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     3
     R1 =     device ID
     R2 ->     buffer for description (word aligned).
     R3 =     buffer size

Performs an Inquiry command to see what type the device
is and then performs the appropriate Read-Capacity
Data returned as formatted text.

The data returned is a zero terminated string of the same form as that
printed by *SCSIDevices, ie

"ddd    ttttttttttttttttt cccc Mbytes vvvvvvvv pppppppppppppppp rrrr ssssss"

where the fields are device number, type, capacity, vendor, product, revision
number and SCSI implementation level.

If a device doesn't respond, a string containing just the device number is
returned, if the device responds, but the 'read-capacity' call fails, the
capacity field will be set to unknown.

[sh-index] Back to list of manuals