Your questions are surprising me. Haven't you ever tried to create new empty project using project wizard? By default you should see all banked segments defined in PRM file and combined to one logical placement called PAGED_RAM. If you need some special settings in your PRM, then I think you should edit project wizard crated PRM file.
Be careful about banked RAM and standard startup file. Since you are allocating some variables in banked RAM, you should add -D__FAR_DATA to compiler switches, else startup file most likely will initialize wrong RAM segments.
Also, since you are going to use more than just one RAM page, you need to change compiler option "Assume objects are in same page for" from default setting "all objects in same non default segment" to "never for different objects". Either do right mouse clicks or add -PSegObj to compiler switches string. Here example demonstrating compiler behaviour:
#pragma DATA_SEG __RPAGE_SEG PAGED_RAM
int d[2048]; // d is big enough to fill 4k RAM page, so linker
int g[5]; // will allocate g in different RAM page
#pragma DATA_SEG DEFAULT
void main(void) {
d[0] = 4;
d[3] = 4;
g[3] = 5;
d[7] = 4;
d[8] = 4;
g[0] = 5;
g[2] = 5;
}
Try compiling this with and without -PSegObj switch. Without switch, instead of write to g[i], you will see d[i] updated.
You may safely take benefits of faster operation without -PSegObj . But you need to edit PRM file to define separate placement records to allocate objects in specific RAM pages instead of allocating in collection of RAM paged (PAGED_RAM):
PLACEMENT
PAGED_RAM_FC INTO RAM_FC;
PAGED_RAM_FD INTO RAM_FD;
...
END
Then you could start allocating variables first to PAGED_RAM_FC until linker tells you there's no room in PAGED_RAM_FC. Then you could start filling PAGED_RAM_FD etc. Compiler will handle all accesses fine without -PSegObj.
You decide what's better for you. There's a number of ways to use paged RAM on S12X. For example for better portability at a cost of slower operation you may switch to using large memory model and forget about pages.