OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Development » Debug » scsidebug.lha

Description: Intercept SCSI commands to device unit
Install: scsidebug.lha
Size: 5kb 5
Version: 1.1
Date: 09 Aug 09
Author: Fredrik Wikstrom
Submitter: Fredrik Wikstrom
Email: fredrik/a500 org
Homepage: http://a500.org
Category: development/debug
License: Freeware
Distribute: yes
Min OS Version: 4.0
This program intercepts all direct SCSI commands sent to the device unit
specified and outputs information about them using DebugPrintF().

The program can be stopped by sending it a CTRL-C signal.

Usage:

SCSIDebug DEVICE/A,UNIT/N/A

F.e. to monitor SCSI commands sent to sii3114ide.device unit 3 the following
commands could be used:
run scsidebug sii3114ide.device 3
sashimi

The debug output uses the following format (the lengths are in decimal, all
other numbers are in hexadecimal):
scsi_Data: 0x5cafdd38
scsi_Length: 12
scsi_Command: 43 00 01 00 00 00 00 00 0c 40
scsi_CmdLength: 10
scsi_Flags: 0x03
scsi_Status: 0x00
scsi_SenseData: 0x5cafdd44
scsi_SenseLength: 20

Changes:

1.1 (9-Aug-2009)
 - First released version





Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment