welcome back to the adventure this is Adam and today we're going to experiment with adding a menu
to our config dot TSA's file so when the computer starts up we'll have a couple configuration
options that we can choose from first there's a couple housekeeping tasks I'd like to do I need
to find where the mouse driver is so I'm going to use the dirt command I know I'm looking for
something called mouse I don't know what the extension is so they use a wild-card and then
I'm going to use /s so it's gonna look through subdirectories and let's see what it says so it
is mouse dot-com and it is located in C colon backslash DOS fantastic so let's open up edit
and go to exec back here's our r2 exec bat file we want to load our mouse and we want the devices
to load in the order of largest to smallest I am going to hazard a guess that the mouse driver is
not terribly large so I'm going to put that right here let's remember to load high and we will enter
that path C colon backslash Doss backslash Mouse calm the next thing I would like to do
is configure the sound I do not currently have PC speakers connected to this that is going to happen
the later video we're just laying the groundwork for it now I found the driver for the audio card
on the Internet hopefully it will work again we'll play with that in a later episode how we do that
is with the set sound and then we enter the path which I set to be DOS drivers Audio so what this
is doing is pointing to whatever folder contains the audio drivers next we're going to have to set
some parameters for the sound card I'll go ahead and type those out here it'll take just a moment
so all of those things I typed out are just parameters for the sound a link in
the description this string and what a couple of those items mean it's very common settings
for audio cards from this time period next we'll go through a quick exercise
here of checking memory usage I'm going to go ahead and restart the computer here
so as you can see something new cropped up here it said that the mouse driver is
installed which is fantastic that's what we were going for from any earlier episode we
used the mem command to see what is using memory and how much excuse me that should
have been mem / c / p so it shows the program detail followed by separating the information
and pages otherwise the scrolls too far and we can't see it so the mouse is using
11 k and daus's das key is using 4 K so I essentially have those in the wrong order
the mouse is what's called a memory resident program it means it stays in memory at all times
one thing we'll go over in a later episode is disabling things that you're not going to be using
in the particular session if you know nothing that you're going to be doing requires the mouse you
can disable it and free up some system resources so back here in our edit program we actually have
the mouse now this is the black block up next to options so we can move that around it's not
a fancy cursor but you can click on things and select things which is very cool so as I mentioned
we want to rearrange this here the standard keyboard shortcuts like for cut copy paste
they don't work in the edit program and it is very old very simple so what we'll do is add a line up
top here we will take this and it cut paste just using the Edit menu up here and then we can save
and exit all done with the mouse very cool so on the next boot those changes will take effect
we'll get back to that in just a moment so to add the menu that I talked about I want to start in
the config this file because it'll make things more clear when we go back to the autoexec file
at the very top we need to add in brackets the word menu I am also going to add a menu color
this is completely optional but just for fun why not so it's supposed to be X comma Y either
numbers 1 through 15 in the description I'll link what the different colors are for this X
is the text color Y is the background color so I am going to go for 7 comma 1 it should produce a
blue background with white text similar to what we're seeing here colors 8 through 15
can cause some flickering on the screen and I want to avoid that for the demonstration
the bright white color is number 15 which we could also select what I'm gonna stick
with the bland white as it's referred to in the menu color help file then we will also
need a menu default this is what happens if you make no selection so what this part will make
sense later so I'm telling it to use the normal configuration with a timeout of 7 seconds so if
no selection is made it just goes with normal now we have to define what the menu items are
so the first part of menu item where I just put normal is going to be a section that we
create in brackets in the file so it's telling it execute these commands here if you choose normal
the normal boot in parenthesis is what's going to be displayed on the boot menu so when we boot up
instead of just saying normal it will say normal boot and we could have a display anything we want
for this next configuration option is having a secondary boot configuration so the monochrome
text mode will be there we decide to use an app or play a game that requires the monochrome text mode
we have that configuration available when we start the system now we have to break up the config dot
TSA's file into the types of configurations that we want comment is going to be everything
that loads no matter what configuration you are choosing then we're going to have normal
and lastly the mono mode and then we just need to organize a few things around here I want to take
EMM 386 this entire string here because keep in mind what this whole thing is doing is disabling
the monochrome text mode and I'm moving that down to what would be our normal configuration and then
we can take this part up to no EMS and put that down here in the monochrome mode so our normal
boot process has this disabled the mono mode a few other things you may consider using this for
if you are going to be using an application that doesn't require a mouse you can have a separate
configuration where Mouse is disabled same thing goes for networking or optical drive essentially
anything in the config sis file everything can be swapped around here into multiple configurations
using this format right here so now that we have mouse control we can use this and we can switch
to our autoexec.bat file I don't think there's anything here in the autoexec.bat file that I'm
be disabling so this is how we close the loop on the boot menu tributes ladies here over typing
so anything that we wanted to happen in a normal boot could go under normal anything that we wanted
to have happen just under the mono boot would go under mono I'm not separating anything out in
this file so it's like saying everything above is common it'll happen in either configuration
so time for the moment of truth let's go ahead and exit and restart and just see what happens
we should have a menu with blue background and white text here we are it's pretty simple if you
move up or down it cancels out that timeout that you saw ticking there I could consider
shortening that significantly because I'll be sitting right here I don't think I need
seven full seconds but there you go that is our startup menu and will appear every time we start
the system we have success let's normal boot last thing I want to check here which we will
make super quick is our configuration see if we have it in the right order I don't like how
EMM 386 is suddenly lowered but that might not be a choice we have because that is what we're
using in the to boot configurations although we do have the rest of it right Mouse's above
dusky because it uses more resources and there we go we have successfully created our boot menu
don't forget to like comment and subscribe thanks for stopping by see you next video