]> cloudbase.mooo.com Git - kermit-80.git/blame - cpxswt.asm
Add AVR-CP/M system (cpxac.asm) and a Makefile
[kermit-80.git] / cpxswt.asm
CommitLineData
e58a7a25
L
1IF NOT lasm\r
2.printx * CPXSWT.ASM *\r
3ENDIF ; NOT lasm\r
4; KERMIT - (Celtic for "FREE")\r
5;\r
6; This is the CP/M-80 implementation of the Columbia University\r
7; KERMIT file transfer protocol.\r
8;\r
9; Version 4.0\r
10;\r
11; Copyright June 1981,1982,1983,1984,1985\r
12; Columbia University\r
13;\r
14; Originally written by Bill Catchings of the Columbia University Center for\r
15; Computing Activities, 612 W. 115th St., New York, NY 10025.\r
16;\r
17; Contributions by Frank da Cruz, Daphne Tzoar, Bernie Eiben,\r
18; Bruce Tanner, Nick Bush, Greg Small, Kimmo Laaksonen, Jeff Damens, and many\r
19; others.\r
20;\r
21; This file is a simple family or system file switcher, selecting\r
22; one of several family files, or selectin CPXSYS.ASM (now modified)\r
23; if a family file does not exist.\r
24;\r
25;\r
26; revision history:\r
27;\r
28;edit 10, 7-Jan-1991 by MF. Added code by Jay S. Rouman to support the\r
29; Ampro Little Board (see CPXBBI.ASM) and PRINTX for the HP-125.\r
30; edit 9, 1st September 1990 by Russell Lang, rjl@monu1.cc.monash.edu.au.\r
31; Added Microbee support.\r
32; edit 8, 2 December by OBSchou. Added Z80MU "system" to allow kermit-80\r
33; debugging on a PC!\r
34;\r
35; edit 7, 27 October, 1987 by OBSchou. Added bits for Sanyo, Compupro, \r
36; Genie and TRS-80 M4.\r
37;\r
38; edit 6, 16 July, 1987 for Will Rose, who has submitted code for\r
39; Micromint SB180 (6 and 9 Mhz) and a BT Merlin (alias RAIR)\r
40;\r
41; edit 5, 15 July, 1987 by OBSchou for David Moore, who has submitted\r
42; code for a Teletek SYSTEMASTER and for ADM22 terminals.\r
43;\r
44; edit 4, 14 July 1987 by OBSchou for JA Shearwood of Birmingham University,\r
45; Chris Miles of Manchester University. Added a Cifer family file\r
46; for John, and added a BigBoard-Kaypro-Xerox family file for Chris\r
47; Finally, added in new family file for Heath, telcon, z100 and scntpr\r
48; systems for Martin Carter of Nottingham University.\r
49;\r
50; edit 3, 6 April, 1986 by OBSchou.\r
51; Added in switching for NCR Desision Mate V and Amstrad CPC 664/6128\r
52; systems.\r
53;\r
54; edit 2, March 16, 1987 by OBSchou.\r
55; added in support for m80 macro assembler.\r
56;\r
57; edit 1 28 January, 1987 by OBSchou.\r
58; Take out the series of printx etx and selection of systems and\r
59; leave this with only the system dep. code for systems without\r
60; a family file. Hopefully, this file will go alltogether in time.\r
61;\r
62; Keep module name, edit number, and last revision date in memory.\r
63swtver: db 'CPXSWT.ASM (10) 7-Jan-1991 $'\r
64;\f\r
65; Assembly time message to let me know I'm building the right version.\r
66; LASM generates an 'S' error along with the message, which is messy, but\r
67; better than trying to put everything inside a IF m80 OR mac80 conditional,\r
68; because LASM doesn't like nested IF's, either.\r
69\r
70\r
71IF (torfam AND lasm)\r
72;Link to the module with the code for Superbrains, Torch, Cifer and pci2651\r
73LINK CPXTOR.ASM ; also NCR DMV systems\r
74ENDIF;(torfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
75\r
76IF (ciffam AND LASM)\r
77; Link to the Cifer family file. (Cifer code previously on CPXTOR.ASM)\r
78LINK CPXCIF.ASM ; Cifer family file\r
79ENDIF ;(ciffam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
80\r
81IF (appfam AND lasm) ;[33] apple frogs as a separate family..\r
82; Link to the APPLE family...\r
83LINK CPXAPP.ASM\r
84ENDIF ;(appfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
85\r
86IF (norfam AND lasm); Link to the Northstar family (and Comart)\r
87; Link to the NorthStar family file\r
88LINK CPXNOR.ASM\r
89ENDIF; (norfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
90\r
91IF (pcwfam AND lasm) ;[35] Amstrad PCW 8256/8512 or CPC systems\r
92; Link to the Amstrad PCW family\r
93LINK CPXPCW.ASM\r
94ENDIF ;(cpwfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
95\r
96IF (bbifam AND lasm) ;Bigboard, Kaypro and Xerox 820 file\r
97; Link to the Bigboard family\r
98.printx * Linking to the BigBoard family *\r
99LINK CPXBBI.ASM\r
100ENDIF ;(bbifam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
101\r
102IF (heafam AND lasm) ; heath, z100, telcon, and scntpr systems\r
103; Link to the Heath-telcon-screentyper family\r
104.printx * Linking to the Heath-telcon-screentyper family *\r
105LINK CPXHEA.ASM\r
106ENDIF ;(heafam) - m80 use: INCLUDE from CPXTYP.ASM\r
107\r
108IF (sbfam AND lasm)\r
109; Link to the SB180 Family file\r
110,printx * Linking to the SB180 Family file *\r
111LINK CPXSB.ASM\r
112ENDIF ; (sbfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
113\r
114IF (m2215 AND lasm)\r
115; Link to the RAIR/ BT Merlin code\r
116.printx * Linking to the Merlin/Rair code *\r
117LINK CPXMRL.ASM\r
118ENDIF ; (m2215 AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
119\r
120IF (sanfam AND lasm)\r
121; Link to the Sanyo code\r
122.printx * linking to the sanyo code *\r
123LINK CPXSYO.ASM\r
124ENDIF ; (sanfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
125\r
126IF (comfam AND lasm)\r
127; Link to the compupro code\r
128.printx * linking to the Compupro code *\r
129LINK CPXPRO.ASM\r
130ENDIF ; (comfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
131\r
132IF (genfam AND lasm)\r
133; Link to the Genie family code\r
134.printx * linking to the Genie code *\r
135LINK CPXGNI.ASM\r
136ENDIF ; (genfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
137\r
138IF (trsfam AND lasm)\r
139; Link to the TRS-80 family file\r
140.printx * linking to the TRS family file*\r
141LINK CPXTM4.ASM\r
142ENDIF ; (trsfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
143\r
144IF (z80fam AND lasm)\r
145; Link to the Z80MU family file\r
146.printx * linking to the Z80MU family file*\r
147LINK CPXZ80.ASM\r
148ENDIF ; (z80fam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
149\r
150IF (beefam AND lasm)\r
151; Link to the Microbee family file\r
152.printx * linking to the Microbee family file *\r
153LINK CPXBEE.ASM\r
154ENDIF ; (beefam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
155\r
156\r
b0db0839
L
157IF (acfam AND lasm)\r
158; Link to the AVR-CP/M family file\r
159.printx * linking to the AVRCPM family file*\r
160LINK CPXAC.ASM\r
161ENDIF ; (acfam AND lasm) - m80 use: INCLUDE from CPXTYP.ASM\r
162\r
e58a7a25
L
163; If we have come here, we are assembling the CPXSYS.ASM file\r
164\r
165IF robin\r
166.printx * Assembling KERMIT-80 for the DEC VT180 *\r
167ENDIF\r
168\r
169IF vector\r
170.printx * Assembling KERMIT-80 for the Vector Graphics *\r
171ENDIF\r
172\r
173IF osi\r
174.printx * Assembling KERMIT-80 for the Ohio Scientific *\r
175ENDIF\r
176\r
177IF heath\r
178.printx * Assembling KERMIT-80 for the Heath/Zenith 89 *\r
179ENDIF\r
180\r
181IF z100\r
182.printx * Assembling KERMIT-80 for the Heath/Zenith Z100 *\r
183ENDIF\r
184\r
185IF trs80\r
186.printx * Assembling KERMIT-80 for the TRS-80 II *\r
187ENDIF\r
188\r
189IF osbrn1\r
190.printx * Assembling KERMIT-80 for the Osborne 1 *\r
191ENDIF\r
192\r
193IF telcon\r
194.printx * Assembling KERMIT-80 for the Telcon Zorba *\r
195ENDIF\r
196\r
197IF dmII\r
198.printx * Assembling KERMIT-80 for the DECmate II *\r
199ENDIF\r
200\r
201IF gener\r
202.printx * Assembling Generic KERMIT-80 *\r
203ENDIF\r
204\r
205IF cpm3\r
206.printx * Assembling Generic KERMIT-80 for CP/M 3.0 *\r
207ENDIF\r
208\r
209IF hp125\r
210.printx * Assembling Kermit-80 for the HP-125 Series 100 *\r
211ENDIF ;hp125\r
212\r
213IF kpii\r
214.printx * Assembling Kaypro II KERMIT-80 *\r
215ENDIF\r
216\r
217IF xer820 ;[pcc001]\r
218.printx * Assembling Xerox 820 KERMIT-80 *\r
219ENDIF ;[pcc001]\r
220\r
221IF bbII\r
222.printx * Assembling BigBoard II KERMIT-80 *\r
223ENDIF\r
224\r
225IF ampro\r
226.printx * Assembling Ampro Little Board KERMIT-80 *\r
227ENDIF\r
228\r
229IF mdI\r
230.printx * Assembling for Morrow Decision I *\r
231ENDIF ;mdI [Toad Hall]\r
232\r
233IF mmdI\r
234.printx * Assembling for Morrow Micro Decision I *\r
235ENDIF ;mmdI\r
236\r
237IF mikko\r
238.printx * Assembling MikroMikko Kermit-80 *\r
239ENDIF\r
240\r
241IF delphi ;[7]\r
242.printx * Assembling Digicomp Delphi 100 Kermit-80 *\r
243ENDIF ;[7]\r
244\r
245IF cpt85xx\r
246.printx * Assembling CPT-85xx (under CompuPak CP/M) Kermit-80 *\r
247ENDIF\r
248\r
249IF cmemco ;[25]\r
250.printx * Assembling KERMIT-80 for the Cromemco (TU-ART) *\r
251ENDIF;cmemco\r
252\r
253IF bbc ;[22]\r
254.printx * Assembling Kermit-80 for BBC with Z80 co-processor *\r
255ENDIF ;[22]\r
256\r
257IF rm380z ;[22]\r
258.printx * Assembling Kermit-80 for Research Machines 380Z *\r
259ENDIF ;[22]\r
260\r
261IF px8 ;[29]\r
262.printx * Assembling Kermit-80 for Epson PX-8 *\r
263ENDIF ;px8 [29]\r
264\r
265IF mmate ;[29]\r
266.printx * Assembling KERMIT-80 for the PMC MicroMate *\r
267ENDIF ;mmate [29]\r
268\r
269IF disc ;[29]\r
270.printx * Assembling KERMIT-80 for the A. C. E. Discovery *\r
271ENDIF ;disc [29]\r
272\r
273IF s1008 ;[29]\r
274.printx * Assembling KERMIT-80 for the MicroSales s1008 *\r
275ENDIF ;s1008 [29]\r
276\r
277IF access ;[29]\r
278.printx * Assembling Kermit-80 for the ACCESS-MATRIX computer *\r
279ENDIF ;access [29]\r
280\r
281IF lobo ;[hh]\r
282.printx * Assembling Kermit-80 for the Lobo MAX-80 *\r
283ENDIF;lobo [hh]\r
284\r
285IF teletek\r
286.printx * Assembling Kermit-80 for the Teletek *\r
287ENDIF ;teletek\r
288\r
289;\r
290;\r
291; If here, we have not linked to a family, so link to CPXSYS.ASM\r
292IF lasm\r
293 LINK CPXSYS.ASM\r
294ENDIF ;lasm\r
295;\r
296; If we are using m80, then the CPXSYS.ASM file will be INCLUDED from CPXTYP\r
297;\r
298\r
299\r
300\r