In your "mainline" code, make sure that you have it offset:
DEFINE RESET_ORG 200h ' or something appropriate

Then, you will have to just merge the two hex files together:
stripping the EOF record on the first hex file
append the second hex file
(you may want to strip out the config bits on either file, whichever is appropriate)

Now you have a single hex file with both code bases.