Hi William,

What is cal_isr?

I think it is pretty safe to asume that there is an interrupt on the
background to count seconds. If this is done properly, it is based on
timer with automatic reload (like timer 2 on 16f chips iirc).
However, as you state, this is a pretty rare case. So maybe just
disable all interrupts:

 while seconds > 59 loop    -- if seconds < 60, nor harm is done
     var bit old_gie =  INTCON_GIE
     seconds = seconds - 60
      INTCON_GIE = old_gie
     minutes = minutes + 1
  end loop

Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to