[net.micro.pc] Device Drivers and the Environment

romkey@MIT-CSR@sri-unix.UUCP (10/18/83)

The statement that you cannot have more than 128 bytes of environment
variables is patently untrue!  IBMDOS and IBMBIO load in device drivers before
they load COMMAND.COM. COMMAND.COM is the last thing loaded, so "real" 2.0
device drivers just won't interfere with the environment.  If you load in old
style drivers in your autoexec.bat this will limit your environment.

One thing you could try there is to make up a bunch of garbage
environment variables before you load programs which will remain
resident.  Then deallocate these variables; the space should remain
useable later.  And many old device drivers which made themselves
remain resident should probably be rewritten to work properly under
2.0.

I don't know what happens to the environment if you load a second
COMMAND.COM, though.  I imagine that you get a whole new environment.

John Romkey