I've done a fairly thorough search in the forum already on osccal. Because of this i now know how to read the value from my chip and to write it on the bottom using liquid paper before I erase anything (thanks!).
My problem is that while my programmer PICPgm usually leaves osccal alone when programming this last write it has has changed the value on me and I cannot figure out how to get it back.
The value i originally read from my 12f675 was "0x3430" (now shows 0x34FF) and from what I have read in the forums the last two digits "30" is the osccal value.
From reading the PBP Manual I see that to restore a value one uses something like:
DEFINE OSCCAL = $a0 '(though I replaced a0 with my value of 30)
However when I try to compile this I get a syntax error.
I'm sure this is something simple and it would be nice to have the correct method documented here for newbies such as myself.
Thanks
Bookmarks