Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!lll-crg!nike!caip!cbmvax!daveh From: daveh@cbmvax.cbm.UUCP (Dave Haynie) Newsgroups: net.micro.cbm Subject: Re: overlaying compiler Message-ID: <333@cbmvax.cbmvax.cbm.UUCP> Date: Wed, 4-Jun-86 11:07:14 EDT Article-I.D.: cbmvax.333 Posted: Wed Jun 4 11:07:14 1986 Date-Received: Thu, 5-Jun-86 19:55:34 EDT References: <262@usl-pc.UUCP> Organization: Commodore Technology, West Chester, PA Lines: 53 > > Needed: A Pascal or "C" compiler for the C-64 that will do overlays. > > Requirements: > a) have provisions for overlays, so that I can fit the program into > 40K of RAM. Hopefully, similar to UCSD "SEGMENT" procedures. > b) It must include an adequate ML interface, so that I can use my > interrupt code and various other necessary routines. They total about > 4K, so adequate space is necessary to place them in. > c) reasonably compact object (probably means p-code). Speed is no > problem, due to the ML. Interpreted BASIC would be fast enough. > d) If possible, not use the area from $c600 to $d000, where Mike J > Henry's fastloader resides, and use the LOAD routine to load overlays. > Or at least have it so that I can easily tie in my own 1541 speedup. > > Post any followups here. usl-pc isn't in the sendmail database... > this is eventually going to be usl-pc.usl.edu or something similarly > arcane, but it's not implemented yet. Or send mail the old fashioned > way. > -- > Computing from the Bayous, > Eric Green akgua!usl!usl-pc!jpdres10 > (Snail Mail P.O. Box 92191, Lafayette, LA 70509) I think the latest version of PROMAL has provision for overlays, and its own fast loader. If you're not familiar with PROMAL, its kind of like C in that it allows access to machine level stuff, has no "built-in" functions, and handles arrays much like C does. There are several ways to interface to machine code with PROMAL. It currently supports separate compilation of modules. The PROMAL system loads its own CLI into the C64, and most of the CLI utilities are written in PROMAL. The compiled PROMAL routines seem to be somthing like address-independent P-CODE, as you can load several PROMAL programs at one time. The developer's version includes a run-time module that loads and executes your PROMAL program; the only problem here is that this module is kind of large. Another thing to look at might be Pro-Line's C-Power C compiler. I'm not completely familiar with it, though I've used an older version. It allows separate compilation of programs, and produces real machine code that can be linked and located anywhere in memory (its ROM-able). I don't know if there's any support for overlays, though machine language shouldn't be a problem. Its also the fastest compiler I've seen for the C64. -- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Dave Haynie {caip,inhp4,allegra,seismo}!cbmvax!daveh "I read dozens of books, 'bout heros and crooks, and I learned much, of both of their style.." -Jimmy Buffet These opinions are my own, though for a small fee they be yours too. \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/