home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10823 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.9 KB

  1. Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!sobeco!comback!geloser!rider
  2. From: rider@geloser.login.qc.ca (Serge Ayotte)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Help with TSR's
  5. Message-ID: <80BLuB1w164w@geloser.login.qc.ca>
  6. Date: 21 Nov 92 13:21:18 GMT
  7. References: <id#@byu.edu>
  8. Organization: Gentleman Loser System, Montreal/Qc/Cdn
  9. Lines: 36
  10.  
  11. curtisn@SAS (Curtis Nelson) writes:
  12.  
  13. > Hello!
  14. > What is the best way to unload a TSR from memory (ie: kill the TSR and free 
  15. > up it's memory )?
  16. > I'vew tried several of the DOS functions that kill a process, but they 
  17. > apparently(?) kill command.com, because my computer dies right away.
  18. > Thanks for any help on the matter.
  19.  
  20. I'm no asm expert, far from that, I'm just finishing a course at the
  21. moment (2 classes to go) and TSR's are what with are into at the moment.
  22.  
  23. I don't know if I'm right or wrong yet (I was going to do that as an
  24. extra part of an assigmnent) but from my undestanding, to free up the
  25. installation part of the TSR, you first move into DX the offset of the
  26. installation protion label (call it START) an use INT 27h so anything
  27. after DX is freed.
  28. So what I think needs to be done is to do SOMETHING LIKE that INT 27h
  29. BUT only for the region that is between your ORG (usually 100h) till
  30. that offset of START. Just as I was typing, it occurs to me that you
  31. can't use INT 27h really since it will free EVERYTHING after DX, so this
  32. is where I'll get stuck unless there is another INT that I don't know
  33. about yet (boy! ever tried to find something in a 1.6 MEG files of text
  34. <grin>).
  35.  
  36. Anyone else as any idea or, dare i say, POINTERS ???
  37. (BTW anyone knows if alt.lang.asm is still "net"alive??).
  38.  
  39.  
  40. Serge Ayotte
  41.  
  42. Coming Soon!!  Mouse Support for Edlin!!   NOT!
  43. ----------------------------------------------------------------------------
  44. | rider@geloser.login.qc.ca | Gentleman Loser System, Montreal, Qc, Canada |
  45. ----------------------------------------------------------------------------
  46.