Well ive been reading through the posts in this area and lots of people ask for a rev counter (Tachometer) but i cant seem to find any full examples, so i decided to go through all my zip files and shure enough. EPE did one a long time ago so long in fact that the back issue is no longer available. so firstly here is the code...
i know this if for a very old chip but that could be easily changed and below is the diagram, please be advised i have not tested this but as i said it is a nice place to start, and im sure if it has any mistakes the members will spot them, and make corrections as necessary.