Re: [cc65] Is there a way to build CONDES style tables of all assembled segments?

From: Ullrich von Bassewitz <>
Date: 2011-03-18 09:22:25

On Fri, Mar 18, 2011 at 08:07:29AM +0200, Karri Kaksonen wrote:
> Is there a way to make the linker produce a table like this that I
> could access from my code at run time?

No, I'm sorry.

> Another approach would be to have some asm macro that could iterate
> through all segments mentioned in the cfg file and produce some asm
> source out of it.

No, the assembler doesn't know about the config file.

What you can do is to parse either the config file, or the generated map file
using some perl magic, and output an assembler module that is then assembled
and linked to the executable.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Mar 18 09:22:32 2011

This archive was generated by hypermail 2.1.8 : 2011-03-18 09:22:35 CET