Path: utzoo!mnetor!uunet!husc6!bbn!rochester!rutgers!princeton!phoenix!kenchiu From: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Newsgroups: comp.sys.amiga Subject: Re: Copying to chip RAM Message-ID: <2210@phoenix.Princeton.EDU> Date: 28 Mar 88 16:20:36 GMT References: <442@lamont.Columbia.edu> Reply-To: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Organization: Princeton University, NJ Lines: 11 In article <442@lamont.Columbia.edu> adam@lamont.Columbia.edu (adam levin) writes: >I have a 'C' array which needs to be in chip RAM. The examples I have found >declare the array, AllocMem some chip RAM, and copy the array into it. I'm not sure of all the details, but I'm assuming that you have a lot of static data. Two solutions come to mind: (1) keep the data in a file, allocate a chip array, initialize from the file. (2) create a static data segment, forcing everything into chip, then LoadSeg() it. Neither solution is very elegant. Compilers need another storage class. Ken Chiu