Re: [cc65] Problem with code compiled as overlay.

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-01-21 22:52:49
Hi,

#pragma code-name (push, "OVL1CODE");

PS.  Another issue I have with this code is that the string literal in the
method is not compiled as part of the overlay.  I may have a lot of text in
each overlay, how do I make sure all the literals are compiled in the
overlays?


As the name "code-name" implies the pragma only affects code. There are
similar pragmas for other things as well. Just check the cc65 docs. However
I seem to remember that string literals behave differently as they are
optimized - I think it was about substring folding. But here someone with
more knowledge has to comment...

Regards,
Oliver

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jan 21 22:53:01 2012

This archive was generated by hypermail 2.1.8 : 2012-01-21 22:53:04 CET