Re: [cc65] 65816

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-04-17 09:30:48


On Tue, Apr 16, 2002 at 11:17:35AM -0700, Matt Ackeret wrote:
> I was under the apparently wrong impression that cc65 did some kind of
> module loading and unloading to allow you to write big programs in it.

This would be highly system dependent and impossible to do in a portable way.
There will be some help from the compiler and linker because you can have
segments and the linker can combine these segments and overlay them in memory.
However the actual mechanism to load/reload these banks (or to switch them) is
up to you.

> Though I suppose one could get the cc65 compiler running on a GS by
> compiling it with Orca/C.  

Is Orca/C ANSI or K&R?

> Though then it would still be GS/OS native, but
> would create binaries to run on 8 bit Apple IIs..  (including the GS, when
> booting from prodos or DOS 3.3 or whatever cc65 actually supports.)

Since it would be the first host platform where ints are 16 bits there may be
a few minor problems. I've tried to be careful about it, but it has never been
tested.

Regards


	Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 : 2002-04-17 09:31:17 CEST