Path: utzoo!attcan!uunet!peregrine!elroy.jpl.nasa.gov!usc!jarthur!rspangle From: rspangle@jarthur.Claremont.EDU (Froot Loop) Newsgroups: comp.os.msdos.programmer Subject: Re: Answer to how to make TSR name show on MAPMEM display. Message-ID: <9967@jarthur.Claremont.EDU> Date: 5 Dec 90 21:31:15 GMT References: <5014@bwdls58.UUCP> <5044@bwdls58.UUCP> Organization: Harvey Mudd College, Claremont, CA 91711 Lines: 41 In article <5044@bwdls58.UUCP> mlord@bwdls58.bnr.ca (Mark Lord) writes: >My environment is about 400 bytes. But a copy is made for EACH >of the 17 TSRs I have, giving a total space of 17 * 400 = about 6K or so. My AUTOEXEC.BAT starts like this: path c:\; mouse.com ansi.com prtscr y (other TSR's) path f:\;c:\;{etc. - 100 chars or so} set temp=f: set pktmp=f: set lib=d:\qc25\lib (other environment stuff) (copying files to ramdrive, etc.) That way, at the time each of the TSR's is loaded, the environment is only 64 bytes long. After adding the full path and environment variables, the environment is several hundred bytes long. But the TSR's don't need copies of most of it, so I don't give it to them. This way, your memory wastage would be (17*64) = 1088 bytes instead of (17*400) = 6800 bytes. Actually, I have a 386, so I use QEMM and LOADHI to get 602 KB free with a ramdisk, disk cache, mouse driver, ANSI driver, files=40, buffers=10. If you have a 386, QEMM is DEFINITELY the way to go. And it works with Windows 3.0 in all modes now. -- -------------------------------------------------------------------------- | Randy Spangler | Get your mind out of the gutter | | rspangle@jarthur.claremont.edu | you're blocking my periscope | --------------------------------------------------------------------------