Terminate and
Stay Resident programs are programs written so that after they are done they allow the operating
system to be used again, but still stay in RAM allowing them to be sued
later at certain times or when certain things occurred, this type of program was also the basis of most of the virus's that infect early DOS computers.