??? 03/05/10 13:04 Read: times |
#173873 - what I wold do Responding to: ???'s previous message |
Change the default behavior of the startup and/or init modules to eliminate the initial clearing of RAM.
Carefully comb through all of your code to make sure that there are no assumptions anywhere regarding any default expectations for variables being set at zero. declare whatever variables used by the 'critical' code as absolute address (easy if declared in asm) at either the top or the bottom of the appropiate memory area. modify the clearing to start later/stop earlier. this removes the need to "Carefully comb through" which I have seen fail Erik |