We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have specified 16 code banks, each ranging from 0x8000-0xFFFF. Now instead of having to specify which code bank to use for each source file/module, I'm searching for an option/directive that would let the linker make that choice automatically.
Thanks in advence
Søren Abildtrup
Hardware:
PK51 package.
CPU: Atmel 80C32X2
ROM 4Mbit
XDATA port 200h used for bank-select.
Why struggle with a workaround for a problem that is, effectively, already solved?!
In the days when memory - and processors that could address it - were expensive and hard to get, it made some sense abuse 8-bit processors like this to circumvent their inherent architectural limitations.
But those days are long gone!