Re: [cc65] ca65: Setting segment name from cmdline?

From: thefox xofeht <thefox1aspekt.fi>
Date: 2012-01-26 19:50:43
On Thu, Jan 26, 2012 at 6:03 PM, Oliver Schmidt <ol.sc@web.de> wrote:
> Is there a way to define the name of the segment for i.e. code on the
> ca65 cmdline?

Does this mean that --code-name option of cl65 doesn't work for asm sources?

> In case you wonder what I'm trying to do: I want to place the same
> code several times in the output file. Just the run address differs
> for each variant. My idea was to setup several segments in my linker
> config and run ca65 several times on the same source but different
> cmdlines in order to produce several .o files.

For a workaround, you could place all of the code in a macro, and use
.segment together with that.

-thefox
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 26 19:51:01 2012

This archive was generated by hypermail 2.1.8 : 2012-01-26 19:51:04 CET