Take a look at this thread: http://www.picbasic.co.uk/forum/showthread.php?t=2129

RTC has some primary TMR0 fundamentals that might help point you in the right direction.