Hi L_lh,
the simplest way is adding s19 directly into the linker file (either bootloader into an application or the opposite way).
The first line in prm file will start with "HEXFILE" followed by the name of the s19 file (they should be copied into the same folder).
For example:
HEXFILE Simple_Serial_Bootloader_for_S12Z.s19
You have to be sure that app and bl will not overlap themselves. So, besides of memory ranges, you have to manage also interrupt and reset vectors.
For more details, please look at Chapter 4.5 in https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Simple-Serial-Bootloader-for-S12Z-AN-draft/....
The realocation of interrupt vector table is described in Chapter 3.4.
The example code should help you with more details.
The jump from bootloader to the application is part of Dispatcher.c code in the Project_Settings\Startup_Code folder.
I hope it helps you.
Best regards
RadekS