As far as I know OSCCAL the thing is only for calibrating/adjusting/tweaking the actual oscillator frequency so that it's within specification. It should not be needed to get the chip running and I don't think it relates to your problem.

With that said
Code:
peekcode $1FF, tempvar
OSCCAL = tempvar
Or perhaps even
Code:
PEEKCODE $1FF, OSCCAL
Should do it. But again, I'd remove it from the code until you get a blinky running.