![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 04:26 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » Question about TSR programs |
| Printable Version 880 / 1 |
| Floor1 magic1000 | Posted 2003-09-17 00:00 |
| 初级用户 Posts 1 Credits 107 | |
|
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!!! |
|
| Floor2 makefool | Posted 2003-09-19 00:00 |
| 初级用户 Posts 11 Credits 77 | |
|
Record the memory segment of your own TSR code, then use one of the functions in int21 (can't remember which one) to release it.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |