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