I am using a 12F device. I am very glad you changed the memory allocation to move sysw and sysstatus to top memory to work in the interrrupt. I am not sure why you allocate more variables to the upper 16 bytes though. In my case using debug, the debug code uses addresses 101 to 112. The lower end is ok, I just can't allocate too many variables. But you allocate address 112 to usually DELAYTEMP, etc, in my example. I must then manually move this (and possible others) to another address manually.
Could you say why you allocate more than sysw and sysstatus to the upper 16 bytes, or change things to not allocate registers for debugging? Moving all except sysw and sysstatus to lower memory should do it. Many thanks for your efforts.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Working with it some more, memory allocation looks like quite a complex mess looking at all the variations across pics and debuggers. The new allocation scheme is better, as interrupts will work without edits now. I can deal with moving a couple variables when debugging.
I am thinking it best, though, to only put sysw on top and the rest in numeric order.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using a 12F device. I am very glad you changed the memory allocation to move sysw and sysstatus to top memory to work in the interrrupt. I am not sure why you allocate more variables to the upper 16 bytes though. In my case using debug, the debug code uses addresses 101 to 112. The lower end is ok, I just can't allocate too many variables. But you allocate address 112 to usually DELAYTEMP, etc, in my example. I must then manually move this (and possible others) to another address manually.
Could you say why you allocate more than sysw and sysstatus to the upper 16 bytes, or change things to not allocate registers for debugging? Moving all except sysw and sysstatus to lower memory should do it. Many thanks for your efforts.
Working with it some more, memory allocation looks like quite a complex mess looking at all the variations across pics and debuggers. The new allocation scheme is better, as interrupts will work without edits now. I can deal with moving a couple variables when debugging.
I am thinking it best, though, to only put sysw on top and the rest in numeric order.