Here is a good read

http://www.picbasic.co.uk/forum/showthread.php?p=23401