XBESectionUtil.cpp needs
REGISTER_DRIVERSECTION( "darkmist.c", "901" ),
and +1 added to #define NUM_DRIVERSECTIONS count
both use
#pragma code_seg("C901")
#pragma data_seg("D901")
#pragma bss_seg("B901")
#pragma const_seg("K901")
#pragma comment(linker, "/merge:D901=901")
#pragma comment(linker, "/merge:C901=901")
#pragma comment(linker, "/merge:B901=901")
#pragma comment(linker, "/merge:K901=901")
so without that added to the XBESectionUtil.cpp it will do what you said...I havent changed anything else