Date: Fri 28 Jun 85 13:34:50-PDT
From: Ted Shapin <BEC.SHAPIN@USC-ECL.ARPA>
Postal-address: Beckman Instruments, Inc.
Postal-address: 2500 Harbor X-11, Fullerton, CA 92634
Phone: (714)961-3393
Subject: building CP4KERMIT

Hi-  You may want to include this note on building CP/M kermit.
Ted.

INSTRUCTIONS ON BUILDING KERMIT FOR A CP/M SYSTEM

The source files are:
 CP4CMD.ASM, CP4CPM.ASM,CP4DEF.ASM,,CP4KER.ASM, CP4LNK.ASM,
 CP4MIT.ASM, CP4PKT.ASM, CP4SYS.ASM, CP4TT.ASM, CP4TYP.ASM,
 CP4UTL.ASM, and  CP4WLD.ASM.

The easiest way to assemble these is to use the public
domain assembler LASM.COM, and the loader MLOAD.COM.

The files are assembled in two groups, a system independent
group and a system dependent group.

The system independent group is assembled by the command:
LASM CP4KER.ABC, where the three letters in the file extension
position are used to indicate (1) which disk the sources are on;
(2) which disk to place the hex file on; and (3) which disk to
place the listing file on.  Since the listing file is about 286K
for the system indendent assembly, you may not have room for it.
You can then specify "Z", and the listing file will not be produced.
For example, LASM CP4KER.BBZ will read the sources from disk B, and
produce the CP4KER.HEX object on disk B, and no listing file.
If you already have CP4KER.HEX, you will not have to change it to
adapt KERMIT to your own machine.

The system dependent files are assembled with the command: LASM CP4TYP.ABC,
with the same comments as above.  The two files you will need to edit are
CP4TYP.ASM and possibly CP4SYS.ASM.  CP4TYP has a lot of conditionals that can
be set to indicate the type of hardware you are using.  If you are using
hardware that already is described in this module, that all you will have to do
is set the appropriate conditionals TRUE and FALSE.  If your hardware is not
described, you will have to add to this.  The module CP4SYS.ASM makes use of
the conditionals in CP4TYP to select code for initializing modem ports, set
baud rates, send and receive modem characters, and position the cursor and
control the CRT screen.  If your hardware is not supported, you will find
modifiying this difficult because there are so many interlocking conditionals.
You may find it easier to write your own CP4SYS.ASM using what you see as a
guide. Once you assemble it (by performing LASM CP4TYP.BBA), you will have a
second hex file, CP4TYP.HEX.

These files can be loaded by the command:

MLOAD NKERMIT.COM=CP4KER.HEX,CP4TYP.HEX

to produce NKERMIT.COM (or whatever you want to call it).

Good luck!

Ted Shapin, 6/29/85.
-------
