Re: [cc65] Strange things happen with segments after BSS

From: MagerValp <MagerValp1cling.gu.se>
Date: 2005-11-18 18:02:01
>>>>> "UvB" == Ullrich von Bassewitz <uz@musoftware.de> writes:

UvB> That sounds strange and I cannot reproduce anything like that
UvB> here.

Yeah... I've tried to make a minimal test case, but it doesn't seem to
trigger easily. I can send you my sources if you want.

UvB> The only difference between the "bss" and "rw" types is that
UvB> "bss" is not written to the file. Since the memory area is filled
UvB> afterwards, and bss is the last segment, this should have an
UvB> identical effect.

Well, it's not the last segment, since TILEDATA follows. If BSS
simply wasn't written to the file, TILEDATA should be moved $614
bytes, not just 61.

UvB> Are the differences in the output file also in the map file?

No, the map file still thinks that tile_bmp_tab_lo starts at $ae80,
when it actually starts at $ae43.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Nov 18 18:02:10 2005

This archive was generated by hypermail 2.1.8 : 2005-11-18 18:02:13 CET