I have created a simple clock program which uses the following settings:
External Osc = 4mhz xtal (1000000 operations per second)
Tmr0 = 250
Prescaler = 32
Counter (my variable) = 125

I use Disbale and resume as instructed in the help files

My counter is incremented each time the timer and prescaler trip over to 0. This mathematically gives exactly 1.0000 second per as a time base.
However, each time I run this code, it is out by as much as 1 second per minute.

Can any one suggest why I get a varience of such a magnitude. Perhaps show mw a reliable time kleepting function or code.

Thanks for any help rendered.