mikroBasic has drivers and examples for working with GLCD and 18F452 (pin to pin compatible with 16F877A).
You can draw bitmaps, lines, circles, rectangles, there are three built-in fonts and you can invert and clear areas of screen. Also, there are dot-manipulating functions.
I want to drive the graphical LCD WG12864A having KS0801 controller with PIC Controller 16F877A and as such writing code for the same using C in SourceBoost Compiler. I want to know that how this lcd will be connected to the PIC Controller 16F877A as I am also using external memory 27C256 with this controller. So, please try to arrange the interconnections as well as the code in C so that I can use this LCD in Graphics mode.
As this is an urgent query, so please try to arrange the solution for the same at the earliest