Re: [cc65] lcc port to the c64

Date view Thread view Subject view

From: Mike McCarty (jmccarty_at_ssd.usa.alcatel.com)
Date: 2000-11-30 17:24:04


On Thu, 30 Nov 2000, Ullrich von Bassewitz wrote:

> 
> On Thu, Nov 30, 2000 at 01:35:26AM -0500, Todd Vierling wrote:
> > Gcc can be targeted to an 8-bit target quite easily; it's the guts of
> > implementation that is difficult, but only because it is tedious to flesh
> > out all the various RTL instructions for 16-bit and 32-bit quantities
> > (particularly to reduce code size with known constant values that fit into
> > smaller int sizes).  The compiler is so flexible that you could conceivably
> > have compiler options to provide several different machine modes; one to use
> > cc65 register and stack conventions, one to use a bunch of "virtual
> > registers", one to use a virtual stack, one to use completely vanilla 6502
> > everything, and so forth.
> 
> My assumption was based on some statements from the porting manual, on the
> fact that there is no known gcc port to any 8 or 16 bit machine, and on the
> fact that the existing gcc6502 port emulates some sort of 24 bit CPU. I have
> to admit that I have never tried porting gcc myself, and I did not have a look
> at the backend myself, so I may be wrong.

There are *two* ports of gcc to the MC68HC11.

[snip]

BTW, I want to do a port of LCC to the MC68HC11. Where may I get the LCC
port for the 6502? It seems to me that the 68HC11 and the 6502 are
sufficiently similar that the 6502 port would give me a big boost.

Mike



---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:37 CET