This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

setting up paging options

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

Parents
  • 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.

Reply
  • 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.

Children
No data