home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / BEEHIVE / ZSUS / Z3HELP-6.LBR / W.LBR / WZ.HZP / WZ.HLP
Text File  |  2000-06-30  |  4KB  |  114 lines

  1. ;
  2.                                      WZ.MAC                                   
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                                1.4        G. A. Mayfield 1/86              
  6.  
  7.   1- Configuration  2- Notice                                                 
  8.  
  9.  
  10.    WZ  provides an interface between WordStar and  the ZCPR3  TCAP facility so
  11. that WordStar  need not  be reconfigured  for every terminal that you may use.
  12. As long as the proper TCAP is loaded, WordStar will adjust to your system.
  13.  
  14.    As supplied,  WZ is configured for  an SB180 MicroMint processor with ZCPR3
  15. and WordStar v3.0.   You can configure WZ for your system by editing  WZ14.MAC
  16. and reassembling.  The Microsoft M80 macro assembler and L80 linker were used.
  17.  
  18. :1
  19.  
  20.  
  21. WZ Configuration
  22.  
  23.  
  24.      1.    INSTALL WordStar to  a  file  name  of your choice  (I used 
  25.      WSZ.COM)  and select your printer and other patch items.  DO  NOT 
  26.      select  a terminal (use the "no change" option on an  uninstalled 
  27.      original WSU.COM).
  28.  
  29.      2.    Edit  WZ14.MAC  to  conform to  your  system  and  WordStar 
  30.      version.  If you are running ZCPR3 on an SB180 and using WordStar 
  31.      V3.0,  you are all set and may proceed to step 4.  If not,  after 
  32.      the edits use M80 to assemble:
  33.  
  34.           A>M80 WZ14,LST:=WZ14
  35.  
  36.  
  37.  
  38. WZ Configuration (continued):
  39.  
  40.  
  41.      3.   Before linking, you must have determined a MEMORY value from 
  42.      WordStar  (see  WZ14.MAC source).  You must also have  the  ZCPR3 
  43.      VLIB.REL available. You then link:
  44.  
  45.           A>L80 /P:MEMORY,WZ14,VLIB,WZ14/N/X/E
  46.  
  47.      Substitute  the actual value of MEMORY in the command line above. 
  48.      Note  the  number of memory pages required  from  the  statistics 
  49.      output of L80.
  50.  
  51.      4.    You  now  have a WZ14.HEX module and the number  of  memory 
  52.      pages required.  If you have an SB180 running ZCPR3 and  WordStar 
  53.      version 3.0,  you can use the WZ14.HEX included in this kit.  The 
  54.      number of pages for this module is 131 and MEMORY is 8000H.
  55.  
  56.  
  57.  
  58. WZ Configuration (continued):
  59.  
  60.  
  61.      5.    We  now use your favorite debugger (I used ZSID,  v1.4)  to 
  62.      merge  WSZ.COM  (or  whatever you named it) and WZ14.HEX  and  to 
  63.      patch in a couple of jumps.  This proceeds as follows:
  64.  
  65.  
  66.  
  67. WZ Configuration (continued):
  68.  
  69.           A>ZSID WSZ.COM
  70.           ZSID VERS 1.4
  71.           NEXT  PC  END
  72.           3F00 0100 A9FF           (these may change)
  73.           #IWZ14.HEX
  74.           #R
  75.           NEXT  PC  END
  76.           83B7 0100 A9FF           (these may change)
  77.           #A100
  78.           0100  JP 8000            (in my case, MEMORY=8000H)
  79.           0103  .
  80.           #A264                    (WordStar UCRPOS location)
  81.           0264  JP 8003            (MEMORY+3)
  82.           0267  .
  83.           #^C                      (exit ZSID)
  84.           A>SAVE 131 WSZ.COM       (131 may change)
  85.  
  86.  
  87.  
  88. WZ Configuration (continued):
  89.  
  90.      Besides  the L80 statistics,  you can tell how many pages to save 
  91.      by reference to line 8 above of the ZSID dialog. The high address 
  92.      of  83B7H rounded up to the nearest page is 8400H.  Subtract  the 
  93.      TPA  load  address of 0100H to get 8300H.  The  number  of  pages 
  94.      required is thus 83H. Converting to decimal, 8x16+3=131.
  95.  
  96.      6.    You  may  now invoke WordStar as usual,  only now  it  will 
  97.      automatically  adopt  to the terminal currently defined  by  your 
  98.      TCAP.  Remember,  the messages and overlays must reside on either 
  99.      A0:  or  $$:.  If  this is a pain,  I suggest you find a copy  of 
  100.      SETDRU.  This  is a nifty program that will solve  those  nagging 
  101.      path search problems that even ZCPR3 does not solve.
  102. :2
  103.  
  104.  
  105. WZ Notice:
  106.  
  107.  
  108.      The  main  thing wrong with WZ is that the basic WSZ.COM file  is 
  109.      now  about  34K (up from a nominal 16K).  This is because to  get 
  110.      space for VLIB we patched WordStar up over its work area.  Anyone 
  111.      out  there with the OEM notes or better ZCPR  understanding,  can 
  112.      something be done about this?
  113. 
  114. (╦g└╦τ2Ö:╦!╖(7═Current stamp is !╦!═$═ Accept this? (y/n