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

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-09-05 13:52:56
On Mon, Sep 03, 2012 at 08:55:12PM +0200, Spiro Trikaliotis wrote:
> 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?

Partially:-) What exactly is part of the segment? 

  * Any fills that are caused by .res use the value from the segment.

  * Any fills caused by .align at a given location within the source do also
    use the fill value from the segment.
        
  * But how about alignment between the sections of a segment? Is this space
    part of the segment or just part of the memory area?

  * And how about alignment at the start of a segment caused by .align
    statements in the source? Is this alignment part of the segment or not?

  * Similar for fill bytes caused by the ALIGN, OFFSET or START attributes in
    the linker config. Is the space part of the segment?

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Sep 5 13:53:10 2012

This archive was generated by hypermail 2.1.8 : 2012-09-05 13:53:14 CEST