On Wed, May 5, 2010 at 3:32 PM, Daniel Pralle <dpralle@gmx.de> wrote: > > > On 05/05/2010 02:30 AM, Payton Byrd wrote: > > Finally, and this has nothing to do with banking, is it possible to have a >> specific array be allocated to a specific memory location? >> > > I don't know if I understand your question correctly. > Does this help: > > unsinged char* array1; > unsigned char* array2; > > array1 = 0xd800; // or what ever address you need > array2 = 0x0600; // another address > > for ( i = 0; i < 0xff, ++i) > array2[i] = array1[i]; > > > Yup, this is what I was looking for. I just saved 1K of RAM in the C64 version by doing this. -- 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 Wed May 5 23:14:04 2010
This archive was generated by hypermail 2.1.8 : 2010-05-05 23:14:07 CEST