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
Wrap
Text File
|
2000-06-30
|
4KB
|
114 lines
;
WZ.MAC
Size (recs) CRC Version Author/Latest Issue Disk
1.4 G. A. Mayfield 1/86
1- Configuration 2- Notice
WZ provides an interface between WordStar and the ZCPR3 TCAP facility so
that WordStar need not be reconfigured for every terminal that you may use.
As long as the proper TCAP is loaded, WordStar will adjust to your system.
As supplied, WZ is configured for an SB180 MicroMint processor with ZCPR3
and WordStar v3.0. You can configure WZ for your system by editing WZ14.MAC
and reassembling. The Microsoft M80 macro assembler and L80 linker were used.
:1
WZ Configuration
1. INSTALL WordStar to a file name of your choice (I used
WSZ.COM) and select your printer and other patch items. DO NOT
select a terminal (use the "no change" option on an uninstalled
original WSU.COM).
2. Edit WZ14.MAC to conform to your system and WordStar
version. If you are running ZCPR3 on an SB180 and using WordStar
V3.0, you are all set and may proceed to step 4. If not, after
the edits use M80 to assemble:
A>M80 WZ14,LST:=WZ14
WZ Configuration (continued):
3. Before linking, you must have determined a MEMORY value from
WordStar (see WZ14.MAC source). You must also have the ZCPR3
VLIB.REL available. You then link:
A>L80 /P:MEMORY,WZ14,VLIB,WZ14/N/X/E
Substitute the actual value of MEMORY in the command line above.
Note the number of memory pages required from the statistics
output of L80.
4. You now have a WZ14.HEX module and the number of memory
pages required. If you have an SB180 running ZCPR3 and WordStar
version 3.0, you can use the WZ14.HEX included in this kit. The
number of pages for this module is 131 and MEMORY is 8000H.
WZ Configuration (continued):
5. We now use your favorite debugger (I used ZSID, v1.4) to
merge WSZ.COM (or whatever you named it) and WZ14.HEX and to
patch in a couple of jumps. This proceeds as follows:
WZ Configuration (continued):
A>ZSID WSZ.COM
ZSID VERS 1.4
NEXT PC END
3F00 0100 A9FF (these may change)
#IWZ14.HEX
#R
NEXT PC END
83B7 0100 A9FF (these may change)
#A100
0100 JP 8000 (in my case, MEMORY=8000H)
0103 .
#A264 (WordStar UCRPOS location)
0264 JP 8003 (MEMORY+3)
0267 .
#^C (exit ZSID)
A>SAVE 131 WSZ.COM (131 may change)
WZ Configuration (continued):
Besides the L80 statistics, you can tell how many pages to save
by reference to line 8 above of the ZSID dialog. The high address
of 83B7H rounded up to the nearest page is 8400H. Subtract the
TPA load address of 0100H to get 8300H. The number of pages
required is thus 83H. Converting to decimal, 8x16+3=131.
6. You may now invoke WordStar as usual, only now it will
automatically adopt to the terminal currently defined by your
TCAP. Remember, the messages and overlays must reside on either
A0: or $$:. If this is a pain, I suggest you find a copy of
SETDRU. This is a nifty program that will solve those nagging
path search problems that even ZCPR3 does not solve.
:2
WZ Notice:
The main thing wrong with WZ is that the basic WSZ.COM file is
now about 34K (up from a nominal 16K). This is because to get
space for VLIB we patched WordStar up over its work area. Anyone
out there with the OEM notes or better ZCPR understanding, can
something be done about this?
(╦g└╦τ2Ö:╦!╖(7═ Current stamp is