Hi, > As far as I remember the cc65 docs > even state somewhere that it is the responsibility of the "ROM > creator" to copy the data segment somewhere into RAM on program > startup... Found it: "Since BSS is not initialized, we must not care about it now, but what about DATA? DATA contains initialized data, that is, data that was explicitly assigned a value. And your program will rely on these values on startup. Since there's no other way to remember the contents of the data segment, than storing it into one of the ROMs, we have to put it there. But unfortunately, ROM is not writable, so we have to copy it into RAM before running the actual code." 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 Sun Feb 6 17:10:37 2011
This archive was generated by hypermail 2.1.8 : 2011-02-06 17:10:39 CET