Hi,
Since one bank of data RAM can hold 256 bytes only you cannot span arrays across banks. So splitting it up is the only way perhaps. Using C18 has its own benefits of a better memory management than PBP for both global and local variables. Also it uses a software stack that depends on the free RAM you have and can be always bigger than the hardware stack. You can always create a subroutine for your data access that automatically chooses the specific bank depending on your array index and dumps it to a temporary variable. This should not complicate things much.
Bookmarks