In my interrupt routine, I'm saving W, STATUS and PCLATH, and restoring
them at the end. I thought that was all I needed to save. But I'm no expert
yet.
Larry
At 09:19 PM 12/17/2002 +0000, you wrote:
{Quote hidden}>I had a similar problem - turned out to be occasionally interrupting when it
>was in page bank 1 - took me ages to work it out and debug it. Just save the
>current page at the start of the interrupt and put the pic back into
>whatever page it was in when the interrupt occurred at the end of the int.
>routine.
>
>Dont forget to pop and push the W register (and carry etc) before returning
>to the point where the interrupt occurred.
>
>May not be the right answer but worth looking into.
>
>Dom
>
Larry Bradley
Orleans (Ottawa), Ontario, CANADA
--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspam
@spam@mitvma.mit.edu
>