Using 8253/8254 to Count How Many Times an Event Happens

A system to count how many times an event happens is designed by using the timer/counter 8253/8254 on PC. The system can enumerate the occurred times of an event which happens many times in a specified period and display the result in the decimal number. The hardware designing and the software programming have been introduced in this paper .