ifdef MAKE_LOADER
LIST
ORG 60160 ; type the adress for loader here
NOLIST
endif


I added this Define in the LIB file and changed in my code to :

DEFINE MAKE_LOADER 1

and it works just fine. Now we don't have to hijack any other defines. So now we have a new DEFINE in PBP.

If someone brilliant can find a way to send the address variable from PBP it would be great. I would like it to look similar to the:

DEFINE RESET_ORG 64 where you include the value to be compiled.

Like:

DEFINE MAKE_LOADER 60160

then there would be no need to change in the LIB file if you wanted an other address for the loader. Is that possible????

/me