Change TXSTA to ...
Code:
DEFINE HSER_TXSTA 24h
9600 baud at 4Mhz needs the BRGH bit set to 1 with SPBRG = 25.