On Sat, Jan 21, 2012 at 3:59 PM, Greg King <greg.king4@verizon.net> wrote: > > You loaded it wrong. You forgot that the overlays don't have load > addresses. Therefore, when you loaded it as a program, it lost > its first two bytes. $C013 actually is the location of the "rts". > > Yup, this was the problem. My overlay is loading and working as expected. Thanks! > You must use the "rodata-name" pragma. If you put your overlays in the > same C source file as your main code, then you need to use the pragma > "local-strings", as well. > Thank you again, using rodata-name put my string literals in the overlay. > > P.S., If every overlay is written in its own source file, then you don't > need to pop their pragmas. > Thank you yet again. :) -- Payton Byrd <http://www.paytonbyrd.com> <http://it.toolbox.com/blogs/paytonbyrd> ---------------------------------------------------------------------- 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 23:42:25 2012
This archive was generated by hypermail 2.1.8 : 2012-01-21 23:42:29 CET