Hi! 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. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- 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 Mar 18 09:22:32 2011
This archive was generated by hypermail 2.1.8 : 2011-03-18 09:22:35 CET