Global RAM 0xF_8000'G..0xF_FFFF'G maps in XGATE address space to 0x8000..0xFFFF. So you need to edit prm to create contiguous RAM segment there and just use it.
See demo attached. prm file defines contiguous 12k RAM segment at 0xF0000'G and suppresses corresponding 3x4k R-page segments. GLO_RAM placement points to this 12k segment.
See buf12k[] declared in xgate.h, defined in main.c. Function in main.c fills buf12k[], function in xgate.cxgate inverts all bits in buf12k[].
Global RAM 0xF_8000'G..0xF_FFFF'G maps in XGATE address space to 0x8000..0xFFFF. So you need to edit prm to create contiguous RAM segment there and just use it.
See demo attached. prm file defines contiguous 12k RAM segment at 0xF0000'G and suppresses corresponding 3x4k R-page segments. GLO_RAM placement points to this 12k segment.
See buf12k[] declared in xgate.h, defined in main.c. Function in main.c fills buf12k[], function in xgate.cxgate inverts all bits in buf12k[].