Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!aoa!rob From: rob@aoa.UUCP (Rob Everton) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Several TSR(terminate & stay resident) and interupt problems. Message-ID: <482@aoa.UUCP> Date: Sat, 17-Oct-87 12:02:50 EDT Article-I.D.: aoa.482 Posted: Sat Oct 17 12:02:50 1987 Date-Received: Sun, 18-Oct-87 11:10:11 EDT Reply-To: rob@aoa.UUCP (Rob Everton) Organization: Adaptive Optics Assoc., Cambridge, Mass. USA Lines: 29 Keywords: turbo c tsr terminate stay resident interrupt Xref: mnetor comp.lang.c:4980 comp.sys.ibm.pc:9179 I have a few questions related to problems I am having using turbo C in a turbo IBM clone. It is very important I figure this stuff out soon. 1> In turbo C, how do I know how long the program will be so I can make it a Terminate and Stay Resident (TSR) 2> What should a TSR do to remove itself completely from memory when it is no longer needed? (doscall or whatever) 3> How can a tsr program tell if its already loaded once before to avoid duplication 4> How can I get 25 interrupts per second without screwing up the channel zero of the timer and thus confusing dos and messing up the clock. Thanks so much for any help. Rob Everton -- Rob Everton ...!{harvard,ima}!bbn!aoa!rob ...!{wjh12,mit-vax}!biomed!aoa!rob