PIC16F1933 Output pins not working
I only looked at you code briefly, but your total disregard for the bank setting except for the one place you write to OSCCON may have something to do with your problem.