Hi,
I have a working old code in rom 32k, I added ram code at the upper 32k and I set the hw to start form the new ram at 32k.
I want to address old function from the new ram code without modify the old project.
once I compile the project code the hex output is not the old rom hex with the new ram code.
rather it recompiled the old code to optize it and I have a new hex that is not like the old rom hex with the new additions.
The thinng is that I need to address the old code function (fixed hex in rom).
what can I do?
regards, dan
As mentioned above, working in ram and using existing code is a new project to decide on.
The approach is to create a new hex file with only hooks call for used function, then add the lower hex to create a new hex file with both application.
once done, to start going every register used in the old code needed functions and save it un touched, next to update the asm in the new project to fit.
Yes it a long way to do manually and in asm ..
Is there any other creative way to do it ?
thanks, dan