This thread has some pretty good information in it.
http://www.picbasic.co.uk/forum/showthread.php?t=4285