home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!oasys!jwhite
- From: jwhite@oasys.dt.navy.mil (Joseph White)
- Newsgroups: comp.os.os2.misc
- Subject: Question about OS/2 emulated DOS, how it works???
- Summary: Do TSR's leave 'holes' in memory
- Message-ID: <28468@oasys.dt.navy.mil>
- Date: 14 Dec 92 03:26:09 GMT
- Organization: Annapolis Detachment, CARDEROCKDIV, NSWC Code 2723
- (formerly David Taylor Research Center, Annapolis MD)
- Lines: 42
-
- I have a question about how OS/2's emulated DOS handles TSR's. Under
- MS-DOS, if you loaded a TSR after shelling to DOS from a program (ie,
- under a secondary shell) you end up leaving a 'hole' in memory.
-
- How does OS/2 handle the same situation? I ask this because I am
- trying to run NCSA Telnet with a packet driver under OS/2. Until late
- Friday, I thought that I had it working, but then as I was leaving
- work for the weekend, I decided to check my e-mail, and got messages
- about the DOS program not having enough memory to run, would I like to
- change the DOS settings? The end result of this experience is that I
- am reinstalling first thing on Monday 8-(.
-
- I was under the impression that when you exited from an OS/2 emulated
- DOS shell, that OS/2 cleared up the memory that was used, and made it
- available for an other use. Is that right?
-
- To run Telnet, I had created a batch file that looks like
-
- @echo off
- 3c503 ...... <TSR packet driver
- Telnet %1
- exit
-
- Is this batch file leaving the packet driver in memory, not in a
- usable state, but taking up a block of memory? I ask this because at
- the time that OS/2 was telling me that the DOS program didn't have
- enough memory to run, I was running nothing else, and I have an ISA
- bus computer with 20Mb of memory, so I know that at least 10Mb or so
- must have/should have been available.
-
- Under MS-DOS, the batch file had two additional lines that allowed the
- packet driver to be removed from memory, by running a mark.com program
- before the packet driver, and a release.exe program to clear the
- memory up to the spot marked by mark.com, and reset the interrupts
- back as they were befor the packet driver. Are these programs
- necessary unser an OS/2 Full screen DOS session to not leave the
- packet driver consuming memory, but not in use.
-
- Joe White
- jwhite@oasys.dt.navy.mil
- An OS/2 neophyte, but loving it and learning more about it every
- minute I use it.
-