[Coco] lwlink help

William Astle lost at l-w.ca
Mon Jan 9 11:00:24 EST 2023


On 2023-01-09 07:06, Alex Evans via Coco wrote:
> Is there a convenient way to use lwlink place sections sequentially in
> memory?
> 
> By default it does this at $2000, but if I specify the address for a
> section, it places the remaining sections starting at $2000.
> 
> For example, given a section that is $004e bytes long and one that is $01ba
> long I want to load the first section at $3e00 (specified) and the second
> one automatically at $3e4e.

You'll probably want to provide a custom linking script since you aren't 
using the default memory layout. See the manual section 4.3 on "linking 
scripts".



More information about the Coco mailing list