home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / misc / 39239 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  2.3 KB

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