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

Questions about XBanking

Hi, I've read about XBanking and have some questions.
Assume that I have 128MB of XRAM and I want to separate it to 4 pages, 0-0x7FFF,0x8000-0xFFFF,0x10000-0x17FFF and 0x18000-0x1FFFF.
I use P1.6 and P1.7 for select pages.

- When I declare far variable, how can I choose which page does this variable stored?

- How to config the values of P1.6 and P1.7 for select pages?

I've tried to read all C51.pdf, A51.pdf, XBanking.A51 files and informations in this site also but I can't find detail about this so I decide to ask in this forum.

Thank you very much.