Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!dcatla!mclek From: mclek@dcatla.UUCP (Larry E. Kollar) Newsgroups: comp.sys.cbm Subject: CBM C Compiler talk Message-ID: <1649@dcatla.UUCP> Date: Wed, 21-Oct-87 15:54:39 EDT Article-I.D.: dcatla.1649 Posted: Wed Oct 21 15:54:39 1987 Date-Received: Sat, 24-Oct-87 06:01:09 EDT Reply-To: mclek@dcatla.UUCP (Larry E. Kollar) Organization: DCA Inc., Alpharetta, GA Lines: 45 Is it REALLY true? Power-C doesn't support the 1581 OR the 1700/1750 RAM expanders? Makes me glad I have Abacus.... FYI, the Abacus Super-C system supports the 1581 with absolutely no problems. I just set it up as drive 9, and Super-C sees it as drive B: RAM expanders are just a little bit of a hassle. Abacus is giving away a 10-line program to tell the system that it has more RAM in drive H:. It got published in the Letters column of the July '87 Transactor, so I don't see a problem posting it here (uh-oh... source on comp.sys.cbm...) #include "h:stdio.h" file outchan; main() { *(char *)0xed06 = 0x7e; /* see comments below */ outchan = open( 15, 15, "u:" ); close( outchan ); } With a 1750, this gives you a 2016-block RAMdisk. If you have a 1700, replace the 0x7e with 0x20. The only problem I've had with this is that you can't run in FAST mode and use the RAMdisk. On another topic, the source & .COM files for the public domain(?) Small-C compiler were recently published in comp.os.cpm. I'm still in the process of getting these files onto my 1581, but I should know by tonight whether it will work. Small-C, if you don't know, is a reduced implementation of C (no switch/case, for, do/while) that produces Z-80 assembly code. Included with the compiler is a Z-80 relocating assembler and linker. THIS is what I wish one of the "commercial" compilers would do -- generate assembly code so I could go in & hand-optimize where needed! Small-C should be available on your local RCP/M (ARPAnet/BITNET types can get it from SIMTEL20). More on this subject later. Larry Kollar ...!gatech!dcatla!mclek "I like the enchiladas and the teriyaki too, I even like the chicken if the sauce is not too blue..." -- ZZ Top, "TV Dinners"