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

From: Spiro Trikaliotis <>
Date: 2012-09-11 22:29:14

* On Tue, Sep 11, 2012 at 10:19:02PM +0200 Ullrich von Bassewitz wrote:
> Why that? Your config is:
>                                                       This is according to
> your rule #1 from
> 1. The beginning is where the first defined byte of the segment is
>    placed (that is, filler bytes before the first byte do not count),

you are missing rule #2:

2. the end is defined as the last byte before the next segment begins
   (according to rule #1).
   If there is no next segment, until the end.

   That is, filler btes at the end of the segment are part of that

Thus, a segment begins with the first byte that is issued for this
segment (as defined specifically, filler bytes do not count for this
segment), but it ends with the last byte that is issued before the
beginning of the next segment. Here, filler bytes *do* count.


Spiro R. Trikaliotis
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Sep 11 22:29:31 2012

This archive was generated by hypermail 2.1.8 : 2012-09-11 22:29:35 CEST