Sorry to say it wont work. Even in assembly with a 40 Mhz PIC it is quite a challenge (although not impossible) to generate decent video resolution. You have to bear in mind that a given horizontal scanline only lasts for about 64 microseconds. On a PIC being clocked at 40 Mhz, even the simplest assembly language instruction (NOP) will take 100 nanoseconds to complete. At first it seems fast, but you need to do more then a NOP instruction to actually display anything of value. When you start looking at shifting out information from memory, and being able to do any of the other housekeeping tasks required, it doesn't take long before you simply run out of time, and your resolution begins to suffer drastically.

Here is a very good website on what is really required:http://www.rickard.gunee.com/project.../pic/howto.php. I would suggest checking it out.

Good luck