Вы находитесь на странице: 1из 1

Sb: #Environment Size

Fm: Charles Robertson 70130,330


To: Kerry Wilson 71006,440 (X)

kerry,
that is true...although when you EXIT back to the program all that space is
returned to the operating pool.....HOWEVER...this is NOT true of resident
programs. i patched my 3.20.22 to have 2K of environment space long ago because
i use many "SET=" statements in my autoexec.bat file. i found out that since
all TSR's also inherit a copy of the environment set when they are run...so if
you have a 400 byte TSR and an 1500 bytes of environment used the resident
program will take up 1900 bytes! not 400!...i freed up over 14K of DOS memory
by moving the SET= commands after all my little TSR's and even did a "SET
COMSPEC=" at the start to free up those few bytes...
hmmm...i think i promised david a transcript of that patch...maybe i better
post it now?

-----------------------------

Fm: Dan Robins 70007,3264


To: Charles Robertson 70130,330 (X)

Charles,
RE: The "SET=" commands after loading in TSR's.....

Thanks for that tip Charles! Never would have thought of that (and maybe the
reason some of my memory has been going faster than expected).
That's what's nice about this forum, folks like you passing on some handy
information.
Dan

Вам также может понравиться