I'm writing a TSR program. It can already stay resident normally, but I don't know how to make it exit and free the memory. The exit routine I wrote now can restore the interrupt, but the program is still there, and if I run it again it will use another location.
I'm a newbie, and I really don't understand memory management and allocation under DOS, so I don't know what to do. Experts, please give me some advice! Thanks in advance!!!
I'm a newbie, and I really don't understand memory management and allocation under DOS, so I don't know what to do. Experts, please give me some advice! Thanks in advance!!!

