for writing a tsr program you should be very clear about the intrupt
when we make and application which can stay resident in memory so we
are reponsible for allocating CPU to that job .that we use intrupt
.we hack and intrupt which operating system use frequently.
at this time i am in hurry i will mail you soon about this all stuff
any Question then send messege .