Re: [cc65] [ld65] Overwriting fillval for one segment only?

From: Spiro Trikaliotis <>
Date: 2012-09-03 20:55:12

* On Sun, Sep 02, 2012 at 10:13:28PM +0200 Ullrich von Bassewitz wrote:
> Hi!
> On Thu, Aug 30, 2012 at 09:48:16PM +0200, Spiro Trikaliotis wrote:
> > maybe I have overlooked it, or is it not possible currently? I'd want to
> > overwrite the specified fillval of a memory section for just one
> > segment.
> What do you mean with overwrite? You can specify the fill value used for a
> memory area. You cannot currently specify it per segment.

Well, yes. ;)

I can specify it for a memory area. Segments are placed into memory
areas, thus, this setting takes effect for that segment.

However, sometimes, I might want to add a segment that has another fill

Of course, I can also define a new memory area, with a different
fillvalue. Unfortunately, if I do this, calculations for segment offsets
become much more complicated.

Thus, what I would need is: Define the fillvalue for a memory area (this
already works), but if needed, overwrite it for one specific segment
with another fillval.

Does this make sense?

BTW, That's a requirement from my project of regenerating old ROMs into
source form. It is nothing I would need for new projects.


Spiro R. Trikaliotis
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Sep 3 20:55:37 2012

This archive was generated by hypermail 2.1.8 : 2012-09-03 20:55:42 CEST