Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!pyrdc!gmu90x!dolqci!decuac!umd5!umbc3!dipto From: dipto@umbc3.UMD.EDU (Dipto Chakravarty ) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Help needed with RAM resident program on Microsoft `C' Message-ID: <506@umbc3.UMD.EDU> Date: Mon, 12-Oct-87 21:33:15 EDT Article-I.D.: umbc3.506 Posted: Mon Oct 12 21:33:15 1987 Date-Received: Wed, 14-Oct-87 05:22:06 EDT Reply-To: dipto@umbc3.umd.edu (Dipto Chakravarty (CMSC-GRAD)) Organization: University of Maryland, Baltimore County Lines: 21 Xref: mnetor comp.lang.c:4860 comp.sys.ibm.pc:8998 Hi folks, I could use some of your wisdom on this problem. I am trying to write a RAM resident / Terminate Stay Resident (TSR) program on an IBM AT, which is supposed to come back every 20-25 secs and print a message on the screen, stating that the program segment is RAM resident. This routine is to be written in Microsoft `C'. Any idea/wisdom as to how do I go about implementing this. In assembly one would set the origin by doing `ORG 100' and then subsequently altering the vectors; but how can we do it from C ? For your information the main program accesses the 8253 timer chip; subsequently processes the value. I want that if this value is valid the RAM resident program pops a message on the screen. I WOULD GREATLY APPRECIATE ALL THE HELP that I can get on this topic. Please send me e-mail or post it on the net. Thanks in advance. Dipto Chakravarty ARPANET: dipto@umbc3.umd.edu Administrative Computing Services BITNET: dipto@umbc2.umd.edu U. of Maryland, Baltimore County.