home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / s.lbr / STATPAT.HZP / STATPAT.HLP
Encoding:
Text File  |  1991-11-18  |  2.8 KB  |  62 lines

  1. ;
  2.                                  STATPAT.Z80                                  
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                4k (30)   0B9A  4.0        Bruce Morgen 8/91        Z3COM8
  6.  
  7.   1- Assembly  2- Notes                                                       
  8.  
  9.  
  10.    STATPAT.Z80 patches STAT.COM to work under ZCPR 3.3+.   
  11.    
  12.    Original (6/18/87) by Howard Goldstein.
  13. :1
  14.  Assembly 
  15.  
  16.  
  17.    To install this patch,  
  18.    
  19.       1) assemble to a HEX file
  20.  
  21.       2) overlay STAT.COM using MLOAD or a debugger:
  22.  
  23.          MLOAD STAT.COM=STAT.COM,STATPAT.HEX
  24. :2
  25.  STATPAT Notes - 1/2 
  26.  
  27.    a. Vs 4.0 updates (8/26/91, Bruce Morgen):
  28.       - Added DU:/DIR: support  --  STAT B0:*.LBR now works as  expected under
  29.         Z33+,  seemingly no effect on other  functions or  on  operation under
  30.         CP/M.
  31.  
  32.    b. Vs 3.0 updates (8/26/87, Howard Goldstein):
  33.       - The previous version failed to remove leading spaces from the command
  34.         tail when copying it into the FCB.   This has been fixed and the code
  35.         has been somewhat shortened (test of the command tail length byte was
  36.         unnecessary since the BADDU flag would  never be set if there were no
  37.         command tail).
  38.  
  39.    c. Vs 2.0 updates (8/9/87, Joe Wright):
  40.       - The original patch somehow caused  STAT  not to  work  properly  under
  41.         CP/M.   It seems the DR-CCP uses the default fcb to load the .COM file
  42.         and after then parsing the command line into it,  does  not  bother to
  43.         clear the record count byte (fcb+15).  Therefore the check for zero is
  44.         invalid.  Further,  ZCPR33  sets  the  drive  byte  (fcb+0)  and  this
  45.  STATPAT Notes - 2/2 
  46.  
  47.         confuses the hell out of  STAT,  which  expects  it  to  be 0.  I have
  48.         changed the patch to check fcb+15 for 0ffh  and to reconstruct the fcb
  49.         entry as if  DR-CCP had  done it.   The resulting  STAT  works equally
  50.         well with CP/M or ZCPR33.
  51.  
  52.    d. Vs 1.0 updates (6/18/87, Howard Goldstein):
  53.       - Some of the options of DRI's STAT.COM do not work under ZCPR 3.3.   In
  54.         particular,  the options that end with a colon,  such  as  DSK:  DEV:,
  55.         etc., fail because of the way Z33 sets  up the default  FCB's  when it
  56.         can't resolve a directory spec.  (That's what it thinks these commands
  57.         are!)   This patch checks the bad directory flag in the first  default
  58.         FCB.   If it is set and the file name field is blank,  this code makes
  59.         the file name nonblank and clears the drive byte.   When STAT sees the
  60.         FCB set up in this way, it assumes that one of its special commands is
  61.         present and processes the command by reading it from the command tail.
  62.