Re: [cc65] Running out of memory on segment code

From: Ullrich von Bassewitz <>
Date: 2010-06-01 13:59:38

On Tue, Jun 01, 2010 at 12:14:39PM +0100, S M wrote:
> I am running out of memory on segment CODE, and I would like to use also
> another section of Memory, say RAM3. I also can use ram from $e000 onwards.
> How can I do this?

Place the code/data you want to place into RAM3 into another segment (MYCODE
for example). Then tell the linker to load this segment into the RAM3 memory

Linker config files are explained here:

> How do I select a segment say CODE2 in a c file? is there a #pragma for
> this?




Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jun 1 13:59:44 2010

This archive was generated by hypermail 2.1.8 : 2010-06-01 13:59:46 CEST