[cc65] ld65 warning

From: Sandro Mestre <san.mes1gmail.com>
Date: 2012-09-17 18:07:28
Can someone help me understand what this warning means: ld65.exe: Warning:
Segment `CODE' in module `v2.obj' requires larger alignment . What I am
doing that prompts this warning?

My CODE segment is taking memory from $800 to $dff.

This is my cfg file:

MEMORY {
>     ZP:  start = $0002, size = $00fe, type = rw;
>     RAM: start = $07fe, size = $f801, fill = yes, file = %O;
> }
>
> SEGMENTS {
>     CABECEIRAPRG: load = RAM, type = ro;
>     CODE:     load = RAM,type = ro;
>     ECRAS: load RAM, start = $3000, type = ro;
>     STILES: load RAM, start = $4000, type = ro;
>
>
>     BORDADURA: load = RAM, start = $7000, type = ro;
>     BORDADURASRAM: load = RAM, start = $7900, type = ro;
>     BORDADURACRAM: load = RAM, start = $7c00, type = ro;
>     TILES: load = RAM, start = $8400, type = ro;
>     TILESCRAM: load = RAM, start = $8c00, type = ro;
>     TILESSRAM: load = RAM, start = $8d00, type = ro;
>
>     SRAM: load = RAM, start = $c000, type = ro;
>
>     SPR: load = RAM, start = $d000, type = ro;
>     SPR2: load = RAM, start = $d080, type = ro;
>
>     BITMAP: load = RAM, start = $e000, type = ro;
>
>
>     #ZEROPAGE: load = ZP,  type = zp;
>     #RODATA:   load = RAM, type = ro;
>     #DATA:     load = RAM, type = rw;
>
> }
>

Thx

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Sep 17 18:07:38 2012

This archive was generated by hypermail 2.1.8 : 2012-09-17 18:07:41 CEST