Availability:
     Level C    , 'T'

  Quick Help:
     Goop Plot, T[Hd],[StartTrk],[EndTrk],[ECCLvl],[NoFrcSync],[SkipCnt]

  Description:
    This function runs a goop plot.  It reads the specified tracks, putting each
    sector into a category based on the ECC correction required to read it:
       perfect
       not perfect but equal to or less than user specified threshold
       requires more correction than user specified threshold (includes sync errors and
          unreadable sectors)

  Input Parameters:

    0 - Head.
    
        If FF entered, test all heads
        If FE entered, test current head
    
          Type:    Unsigned 8-bit value
    
          Range:   0 to 0xFF
    
          Default: Current head
    
    1 - Starting Track
    
        This input indicates the first logical track to be tested.  0 means first track
        of drive.
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to 0xFFFFFFFF
    
          Default: Current track
    
    2 - Ending Track
    
        This input indicates the last logical track to be tested. 0 means last track
        of drive.
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to 0xFFFFFFFF
    
          Default: Starting Track
    
    3 - Correction level threshold
    
        This input indicates the T-level for the less than T versus greater than T split.
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to MaxECC
    
          Default: 2
    
    4 - Disable Force Sync
    
        If any value is input, Force Sync will NOT be used.
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to 0xFFFFFFFF
    
          Default: None
    
    5 - Skip Count
    
        This input indicates how many tracks are skipped between those tracks that are scanned.
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to 0xFFFFFFFF
    
          Default: 0
    
  Output Data:

    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    

    F3 C>T0,20,40,,,8
      Cyl Hd #Sec   T=0 02

       20 0  1456d 1451d     4d     1d
       29 0  1456d 1452d     4d     0d
       32 0  1456d 1452d     3d     1d
       3B 0  1456d 1448d     8d     0d
    
    Note the 'd' indicating decimal values.
    F3 C>

  Examples:

    Example #1:
    To scan tracks 80 - 84 with correction threshold 6 on the current head:
 
      F3 C>T,80,84,6

    Example #2:
    To scan every 4th track (that is, skipping three tracks) from C0 to D0 on head 0 with
    threshold 2 (default):

      F3 C>T0,c0,d0,,,3

  Revision History:

    0001.0000   Initial revision.
    0001.0001   Update code to properly handle tracks with no sectors.
    0002.0000   Make columns even, output cylinder in hex, add ability
                to skip tracks.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).