I think you should put the RAM2 mdule in a separate file, i.e.: RAM: file = "gamehi.prg", define = yes, start = $8000, size = $5000 - __STACKSIZE__; Or, if you want to put it all in one file, you could link the game in one file and, from your crt0.s, call memmove() to move the RAM segment to its proper location. Just a thought. ------------- Joseph Rose, a.k.a. Harry Potter Working magic in the cmuter community...or at least strivng to! :( From: Greg King <greg.king4@verizon.net> To: cc65@musoftware.de Sent: Wednesday, April 27, 2011 2:22 AM Subject: Re: [cc65] Relocating RODATA From: "Stefan Wessels"; on Sat, Apr 23, 2011; at 12:45 PM -0400 > > I am making a game; and, I want to use the VIC pointing > at bank 2 ($4000). For that to work, I must split the RAM. > My config. has these definitions in MEMORY: > > RAM2: file = %O, start = $080d, size = $39b2; > RAM: file = %O, define = yes, start = $8000, size = $5000 - __STACKSIZE__; Also, don't put RAM into the program-file: RAM: file = "", define = yes, start = $8000, size = $5000 - __STACKSIZE__; ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Apr 27 19:52:49 2011
This archive was generated by hypermail 2.1.8 : 2011-04-27 19:52:52 CEST