I'm trying to tweak a system timer, and having varied sucess with it. What I have is a 4.194Mhz xtal, and I am using TMRO as the rollover interupt. I also have a 1:64 prescaler assigned to TMR0, so if my calculations prove correct: 4.194MHz equates to a .953uS state clock the prescaler would then give a interupt every (256*64)*.953us or 15.597mS. So if my end goal was to have the main ISR execute every second, then an additional counter loaded with 64 should do the trick. What is happening to TMR0 during the execution of the ISR? Once it rolls over, does it continue to cycle automagically or does it get held until you return from the interupt? In other words, does the amount of code that is executed inside the ISR affect the overall interupt timing. I also never heard an answer on...can I enable both TMR0 and PORTB0 interupts at the same time? _________________________________________________________________ Unlimited Internet access for only $21.95/month. Try MSN! http://resourcecenter.msn.com/access/plans/2monthsfree.asp -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.