welcome back to the adventure this is Adam and today we're working on
optimizing our system configuration we'll talk about it right after this
in my previous video on getting the maximum resolution from windows 3.11 I
encountered some problems I started getting out of memory errors I
had to completely reinstall windows at one point since I had to spend an
inordinate amount of time reconfiguring the system I figure why not optimize it
while I was at it let's start in the config.sys file in the menu we no
longer have the with networking option instead we now have an option for
Windows the networking items have been moved to their own batch file which
we'll look at later the common section has been streamlined to only load high
mem.sys then set the environmental variables for files buffers and last
Drive the normal and USB configuration loads the cd-rom driver
EMM386 4DOS and ANSI our new Windows section down here at the bottom
loads the cd-rom driver and sets the environmental variable for stacks as we
don't need the other items when we're in Windows note the cd-rom driver has been
switched from the oak driver primarily because that driver required 35 K of
memory to run now let's take a look at our autoexec.bat file
in the autoexec.bat file dusky and upend have been disabled
as 4DOS managers those features for us now I've also switched from MSCDEX
to the SCHDX33F for handling the cd-rom as it has a smaller memory
footprint the default Mouse driver has been replaced with cute Mouse also for
resource reasons last but not least all of the go-to statements in each section
now point to the common label to load those items last each entry in both the
autoexec.bat and config.sys files have been organized based on memory
usage most to least where possible as we discussed in the memory management video
upper memory blocks are used in the order of largest to smallest so we don't
want a small program loading in a large upper memory block if we can avoid it a
card should appear linking to that video now let's take a look at the batch file
where all the networking entries are
this was done so any configuration can have access to the Internet albeit
Windows has its own set up for that and does not seem to work with mTCP but
now in any of the other profiles we can type in net.bat and it will execute
all of these commands in order and launch mTCP for us and that looks like
this see and that pulls an IP address for us all right so let's look at the
memory usage as it is now so that leaves us with 586 K of conventional memory not
that that concludes our look at the optimized system configuration subscribe
for more great content every Thursday thanks for stopping by see you next
video
you