 Date: Fri 28 Jun 85 13:34:50-PDT*From: Ted Shapin <BEC.SHAPIN@USC-ECL.ARPA>)Postal-address: Beckman Instruments, Inc.5Postal-address: 2500 Harbor X-11, Fullerton, CA 92634Phone: (714)961-3393Subject: building CP4KERMIT?Hi-  You may want to include this note on building CP/M kermit.Ted.1INSTRUCTIONS ON BUILDING KERMIT FOR A CP/M SYSTEMThe 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.6The easiest way to assemble these is to use the public4domain assembler LASM.COM, and the loader MLOAD.COM.;The files are assembled in two groups, a system independent#group and a system dependent group.9The 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.DYou can then specify "Z", and the listing file will not be produced.CFor example, LASM CP4KER.BBZ will read the sources from disk B, and=produce the CP4KER.HEX object on disk B, and no listing file.AIf you already have CP4KER.HEX, you will not have to change it to!adapt KERMIT to your own machine.KThe system dependent files are assembled with the command: LASM CP4TYP.ABC,Iwith the same comments as above.  The two files you will need to edit areNCP4TYP.ASM and possibly CP4SYS.ASM.  CP4TYP has a lot of conditionals that canHbe set to indicate the type of hardware you are using.  If you are usingOhardware that already is described in this module, that all you will have to doLis set the appropriate conditionals TRUE and FALSE.  If your hardware is notLdescribed, you will have to add to this.  The module CP4SYS.ASM makes use ofKthe conditionals in CP4TYP to select code for initializing modem ports, setJbaud rates, send and receive modem characters, and position the cursor andIcontrol the CRT screen.  If your hardware is not supported, you will findNmodifiying this difficult because there are so many interlocking conditionals.KYou may find it easier to write your own CP4SYS.ASM using what you see as aLguide. Once you assemble it (by performing LASM CP4TYP.BBA), you will have asecond hex file, CP4TYP.HEX.)These files can be loaded by the command:'MLOAD NKERMIT.COM=CP4KER.HEX,CP4TYP.HEX9to produce NKERMIT.COM (or whatever you want to call it).
Good luck!Ted Shapin, 6/29/85.-------