What is the use of terminal count register?
Each of the four DMA channels of 8257 has single terminal count register. This 16-bit register is used for ascertaining that the data transfer by a DMA channel ceases or stops after the needed number of DMA cycles.