Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker!bu.edu!mirror!pallio!dg From: dg@pallio.UUCP (David Goodenough) Newsgroups: comp.sys.cbm Subject: Re: C for the 128 Message-ID: Date: 7 Oct 90 19:11:05 GMT Lines: 54 lcs@remus.rutgers.edu (Lyle C. Seplowitz) says: > ..... Much about poor C Compilers for 128 mode deleted ..... > If you are really interested in programming in C for the 128 try CP/M > mode. There are numerous compilers available, although I'm not > familiar enough with this area to provide reliable information. Maybe > someone can provide more information? There are several good C Compilers for CP/M available, depending on exactly what you want. The cheapest is Ron Cain's Small C - this is free, being in the public domain. Check SIMTEL20 if you can FTP, otherwise use either the BITFTP server at PUCC.BITNET, or the LISTSERV server at PLAINS.NODAK.EDU (aka: NDSUVM1.BITNET) It's also in the SIG-M P.D. Library, and probably in the FOG Library too. Two other commercial products are: BDS-C - this isn't really K & R, but it is useable. Up to V1.5 the libraries were a bit non-standard, but that all got cleaned up for V1.6. Of the three compilers here, this is the fastest of the lot for compilations by a factor of about 5 to 1. No, I'm not kidding, this thing just screams when it's compiling: it loads the whole source into ram and grinds away. It's about $90.00, if you want a copy try sending E-mail to SAGE@LL.LL.MIT.EDU - that's Jay Sage, and he'll be able to sell you a copy. MIX C is _VERY_ close to K & R, all it's missing are enums and bitfields. It's slower compiling, and has one other oddity. By default it leaves some of the run time support out of the .COM file, loading it at run time. This is OK for development, but not so hot if you're planning to re-distribute the finished programs. However, there is a link time option to cause the R.T. Lib to be loaded into the executable, if you want to do it that way. I don't know what the cost of this one is, or where you'd go to get one, however it is also a very good product. Try checking some of the adverts in Computer Shopper. With BDS-C it's possible to link in assembler code, although it's a bit messy, and I don't know whether this can be done with MIX. I do know that Small C outputs assembler source, so linking in assembler is trivial, since you have to throw the whole mess at an assembler any way. This also makes it dead easy to configure Small C for _ANY_ assembler, just beat up on the code generator, and you're flying. This also _MIGHT_ provide a means to create a stand alone C Compiler for the 64 or the 128: if some brave soul wanted to create a 6510 or 8502 code generator for one of the C64 / C128 assemblers, then you'd have a compiler going fairly quick. -- dg@pallio.UUCP - David Goodenough +---+ IHS | +-+-+ ..... !harvard!xait!pallio!dg +-+-+ | AKA: dg%pallio.uucp@xait.xerox.com +---+