Hello Davidmarks,
I am curious, are you getting any warnings when you compile? It occurs to me, without the present ability to check MY pbp due to a hard drive failure here at home, What is the default OSC setting in the 16F628A.inc file? Have you opened it and commented it out ? Because if not, your program will use the default osc setting and NOT the one you wrote into your code. So if the default is for using a crystal instead of INTRC_OSC * * * you will in effect have the external crystal ports open to the ether looking for a finger to help start the oscillator by stray capacitance. One more thing, is the " [ " at the beginning of the config statement, in you code or just in your post?