From: Tim Vanderhoek (vanderh_at_ecf.utoronto.ca)
Date: 2000-02-19 09:51:13
Does anyone know of an easy way to make ld65 do what I'd like it to do with the following -C Config file piece (namely, create separate load and run areas for DATA): SEGMENTS { DATA: load = RAM1, run = RAM1, type = rw, define = yes; } It looks like it's either a simple modification to config.c or very difficult to do. It may well be simple but I just can't see so at this time of the day... :) Maybe the easiest way to do it is to trick the linker into secretly creating an extra segment, say "DATASAVED", that just happens to be the same size as DATA? [Yes, I do have valid reasons for wanting separate load and run segments on the same ram chip :) ...if the ram chip is loaded through a serial port which is then disconnected, with no permanantly writeable memory areas available, then one would want two copies of the DATA.] -- Signature withheld by request of author. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:35 CET