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

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2012-09-11 22:29:14
Hello,

* 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 http://www.cc65.org/mailarchive/2012-09/10807.html
> 
> 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
   segment.

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.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de 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