Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!caip!sri-spam!mordor!styx!nike!cad!ucbvax!decvax!tektronix!uw-beaver!tikal!hplsla!jamesv From: jamesv@hplsla.UUCP (jamesv) Newsgroups: net.micro.cbm Subject: Re: overlaying compiler Message-ID: <6300003@hplsla.UUCP> Date: Mon, 9-Jun-86 12:53:00 EDT Article-I.D.: hplsla.6300003 Posted: Mon Jun 9 12:53:00 1986 Date-Received: Sat, 14-Jun-86 06:32:53 EDT References: <262@usl-pc.UUCP> Lines: 40 Nf-ID: #R:usl-pc:-26200:hplsla:6300003:000:1716 Nf-From: hplsla!jamesv Jun 9 09:53:00 1986 I have a copy of "Oxford Pascal" which seems to meet some of your requirements. Please note that my responses come straight from their manual and I have not tried any of these operations. If anyone else has used this compiler, your comments would be appreciated. > 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. Oxford Pascal has the ability to "chain" programs. While this is not the same as overlays, it may satisify your requirements. You can pass global variables between the old and new programs. > 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. Section 3.10.1 of the Oxford Pascal manual describes the assembly language interface. From the description, it looks like interfacing to your routines would be straight forward. No mention is make of interrupts. > c) reasonably compact object (probably means p-code). Speed is no > problem, due to the ML. Interpreted BASIC would be fast enough. I don't have any info on this but it does appear that Oxford Pascal compiles to true machine code, not p-code. > 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. The manual says that the top of memory pointer can be set to $c000 to "prevent Pascal from overwriting these locations." James Vasil hplabs!hplsla!jamesv