🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #8480

Uninstalling a TSR in Turbo-C ???

#8480
From: Karl Jeacle
Date: Mon, 18 Mar 1991 21:04
15 lines
1156 bytes
Hi,
I recently wrote a little TSR in Turbo-C which disables/enables function
keys. When I want to uninstall it/remove it, I just use setvect() to put
back the interrupt vectors the way I found them, and then exit(). 

However, each time I install/uninstall the TSR, I lose 6k (size of .exe)

I use a keep() to install myself, so how do I free up the memory I've
taken to install myself, with that keep(), on exiting???

Any ideas would be appreciated!
Thanks,
--
--//-------------------------------------------------------------------------
\X/   Fido: Karl.Jeacle @ 2:253/151                      kpjeacle@vax1.tcd.ie
Technical Details
Message-ID: <kpjeacle.669330269@unix1.tcd.ie>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!kth.se!sunic!mcsun!ukc!tcdcs!unix1.tcd.ie!kpjeacle

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!kth.se!sunic!mcsun!ukc!tcdcs!unix1.tcd.ie!kpjeacle
From: kpjeacle@unix1.tcd.ie (Karl Jeacle)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Uninstalling a TSR in Turbo-C ???
Summary: How do I get a TSR to free up its memory?
Keywords: TSR, Turbo-C
Message-ID: <kpjeacle.669330269@unix1.tcd.ie>
Date: 18 Mar 91 21:04:29 GMT
Sender: news@cs.tcd.ie
Organization: Trinity College, Dublin
Lines: 15
Nntp-Posting-Host: unix1