So, you have a small LCD character display, with a Hitachi HD44780 compatible controller and a PIC. You want to control the LCD display from the PIC. There seems to be quite a bit of sample code on the web, however, it seems to either have been written or an alternative microcontroller or in assembly. Well, here's a very basic library for writing to the controller from SDCC.
This library provides a wrapper over the configuration options provided by the Hitachi display; it provides a number of defines to make it easier to select individual options; a basic initialisation function and some very basic comands to send commands and data.

