If the calibration data is still intact, you try to add
Code:
DEFINE OSCCAL_1K 1
Before ANSEL=0