[cc65] How to find highest address of my C code?

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2012-01-03 23:54:08
Hi there,
I'm trying to achieve something, but not sure how to go about it.
The idea is that I want to use all available RAM for a particular
temporary buffer that should end at $8000. The problem is that I don't
know how to tell where the buffer should start, i.e., what is the
highest address used by my CC65 code. From map file, I can see that
RODATA segment ends at 0x5959. But how can I "find" this address from
within my C code?

Regards,
Johan
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jan 3 23:54:43 2012

This archive was generated by hypermail 2.1.8 : 2012-01-03 23:54:48 CET