Hi,

Hardw.solution : Just use the external TMR1 clock with a 32,768 Hz Xtal ... easily gives 1 count per ms !!!

SoftW.Solution : increment a variable for each overflow ( interrupts using or polling the overflow bit TMR1IF )

Also See Darrel's posts about instant interrupts ... The Hardw solution is described here !!!

Alain