arrays can only be accessed by mE's compilers if they reside in Bank 0 or 1 (using RAM address up to $0FF).
If not, the letal message "Array has been split over two banks" arises and the tips in this forum tend to "try to use a pic18 instead".
Now I am missing assembler knowledge to use correct IRP (or whatever) settings for just reading or writing some bytes in the upper banks.
Isn't someone here so nice and could create two tiny little pieces of assembler code embedded in mP functions to access a range of bytes in bank 2 or 3?
I am dreaming of:
Code: Select all
procedure writeBank23(addr:byte; value:byte);
function readBank23(addr:byte):byte;
Kind regards and Thanks in advance.