[comp.sys.ibm.pc.misc] Uninstalling a TSR in Turbo-C ???

kpjeacle@unix1.tcd.ie (Karl Jeacle) (03/19/91)

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