|
@@ -351,7 +351,7 @@ VAR
|
|
pstr : ARRAY 10 OF CHAR;
|
|
pstr : ARRAY 10 OF CHAR;
|
|
i : LONGINT;
|
|
i : LONGINT;
|
|
|
|
|
|
- PROCEDURE ShowPipes(hcd : UsbHcdi.Hcd; details : BOOLEAN);
|
|
|
|
|
|
+ PROCEDURE ShowPipes(hcd : UsbHcdi.Hcd; details : BOOLEAN; tds: BOOLEAN);
|
|
VAR i, j, k : LONGINT; pipe : UsbHcdi.Pipe;
|
|
VAR i, j, k : LONGINT; pipe : UsbHcdi.Pipe;
|
|
BEGIN
|
|
BEGIN
|
|
FOR i := 0 TO 127 DO (* search all addresses ... *)
|
|
FOR i := 0 TO 127 DO (* search all addresses ... *)
|
|
@@ -360,6 +360,7 @@ VAR
|
|
pipe := hcd.pipes[i][k][j];
|
|
pipe := hcd.pipes[i][k][j];
|
|
IF pipe # NIL THEN
|
|
IF pipe # NIL THEN
|
|
context.out.String("ADR: "); context.out.Int(i, 0); context.out.String(": "); pipe.Show(details);
|
|
context.out.String("ADR: "); context.out.Int(i, 0); context.out.String(": "); pipe.Show(details);
|
|
|
|
+ IF tds THEN hcd.ShowPipe(pipe) END;
|
|
END;
|
|
END;
|
|
END;
|
|
END;
|
|
END;
|
|
END;
|
|
@@ -378,15 +379,17 @@ BEGIN
|
|
ELSIF Strings.Match("details", pstr) THEN
|
|
ELSIF Strings.Match("details", pstr) THEN
|
|
IF UsbDebug.Trace THEN hcd.Diag; ELSE context.out.String("UsbInfo: UsbDebug.Trace is FALSE. Cannot show diagnostics."); context.out.Ln; END;
|
|
IF UsbDebug.Trace THEN hcd.Diag; ELSE context.out.String("UsbInfo: UsbDebug.Trace is FALSE. Cannot show diagnostics."); context.out.Ln; END;
|
|
ELSIF Strings.Match("pipes", pstr) THEN
|
|
ELSIF Strings.Match("pipes", pstr) THEN
|
|
- ShowPipes(hcd, FALSE);
|
|
|
|
|
|
+ ShowPipes(hcd, FALSE, FALSE);
|
|
ELSIF Strings.Match("pipemore", pstr) THEN
|
|
ELSIF Strings.Match("pipemore", pstr) THEN
|
|
- ShowPipes(hcd, TRUE);
|
|
|
|
|
|
+ ShowPipes(hcd, TRUE, FALSE);
|
|
|
|
+ ELSIF Strings.Match("tds", pstr) THEN
|
|
|
|
+ ShowPipes(hcd, TRUE, TRUE);
|
|
ELSIF Strings.Match("all", pstr) THEN
|
|
ELSIF Strings.Match("all", pstr) THEN
|
|
IF UsbDebug.Trace THEN hcd.Diag; hcd.ShowSchedule;
|
|
IF UsbDebug.Trace THEN hcd.Diag; hcd.ShowSchedule;
|
|
ELSE
|
|
ELSE
|
|
context.out.String("UsbInfo: UsbDebug.Trace is FALSE. Cannot show schedule/diagnostics."); context.out.Ln;
|
|
context.out.String("UsbInfo: UsbDebug.Trace is FALSE. Cannot show schedule/diagnostics."); context.out.Ln;
|
|
END;
|
|
END;
|
|
- ShowPipes(hcd, TRUE);
|
|
|
|
|
|
+ ShowPipes(hcd, TRUE, FALSE);
|
|
END;
|
|
END;
|
|
context.out.Ln;
|
|
context.out.Ln;
|
|
END;
|
|
END;
|