I'm using an ASIC that pages into its RAM/ROM. So it has 16k blocks that are paged using registers, PAGEA,PAGEB,PAGEC. It has 128k of code and ram space. How do i setup the compiler to access the ram correctly? I know under options i can set the size of the ram but it wouldn't know about the page registers. Do i have to declare variables in certain pages myself or will the compiler know when to put the variable into a different page? Will it know to toggle the page registers to access the data? David
So i in terms of the options of the compiler i still put in off chip xdata memory: 0000 to 0xffff for my 64k page and then mod these routines using far to gain the correct access. thanks guys for the great help. David
Yes. There is also page switching for the plain data access ram also. But since they swap out the entire 256 bytes of ram, I think there are too many gotcha's to use it. If you have anymore questions, post to a new thread, since the e-mail notification is not work for me on this thread.