This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using old code rom with new code ram

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

Parents
  • .. "the '51 PC"
    BIOS in ROM and stored program in RAM.

    Many have, over the years, had threads about this (mainly at 8051.oom) I have yet to see a thread ending "it now works great"

    Anyhow, even if someone should succeed how many stored program (non-control) apps would there be that fit in 32k or whatever is left after the BIOS?

    In the olden pre-ISP days there might have been a reason for an amateur to have such a setup, but with ISP I fail to see the purpose.

    Erik

Reply
  • .. "the '51 PC"
    BIOS in ROM and stored program in RAM.

    Many have, over the years, had threads about this (mainly at 8051.oom) I have yet to see a thread ending "it now works great"

    Anyhow, even if someone should succeed how many stored program (non-control) apps would there be that fit in 32k or whatever is left after the BIOS?

    In the olden pre-ISP days there might have been a reason for an amateur to have such a setup, but with ISP I fail to see the purpose.

    Erik

Children
No data