Re: [cc65] 65816

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-04-17 20:36:43


On Wed, Apr 17, 2002 at 11:10:53AM -0700, Matt Ackeret wrote:
> So are you saying that the entire binary has to fit in memory?

Yes. Without special measures, this is true for all platforms that don't have
virtual memory.

> There's not even _manual_ loading and unloading?  (i.e. the code says to
> unload a big chunk it knows it won't use for a while)

You can do that, and there is some support in the compiler/linker for it, but
the support is very low level and you have to do most of it on your own.

> >Is Orca/C ANSI or K&R?
>
> It's ANSI.

So compiling shouldn't be a problem.

> Do you mean ints are 16 bits _in the compiler binary_?   Does that mean
> that the compiler code itself assumes int == 32 bits?

The only assumption is that characters are 8 bit. Apart from that, the code
does not assume anything except what the C standard defines. However, I'm just
a human being, which means that I'm making errors (see todays mail from Piotr
for an example). And because I have not tested the compiler on a platform with
16 bit ints, you will be the first one experiencing all my errors in this
area. 

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 20:36:42 CEST