Re: [cc65] ld65 and ca65 - saving labels

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2002-06-11 22:39:00


On Tue, Jun 11, 2002 at 09:14:20PM +0200, Maciej Witkowiak wrote:
> Verbose map dump and VICE lables dump from ld65 have wrong format to do
> copy/paste into ca65 include file.
> Only awk/perl on VICE dump comes to my mind now...

This is not as easy as it sounds, since the VICE label file may include
duplicate labels (two modules may use the same label name - as long as the
symbol is not exported this is legal). The map file would be a better choice,
because it only contains exported symbols, and these have to be unique.

[pushing someone else to the front:-)] 
Keith Gerdes has written a program that parses map and label file and outputs
a combination of both in a readable format. It does also disinguish symbols by
the segment they are in. Maybe this program could be adapted for your purpose.
Keith, what do you think?



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-06-11 22:39:06 CEST