Jump to content
xisto Community
Sign in to follow this  
jayron

What Happens When Dos Boots

Recommended Posts

1: The disk bootstrap Program uses the boot parameters to find the location of the root directory and then loads the file IO.SYS from the root directory into memory. As soon as IO.SYS is loaded the Disk Bootstrap Program is wiped out from memory.2: IO.SYS consists of two modules: Disk BIOS and SYSINIT. The SYSINIT module loads the file MSDOS.SYS from disk into memory and passes control to it.3: MSDOS.SYS builds some internal data structures and work areas and then returns then returns the control to SYSINIT.4: SYSINIT loads a file CONFIG.SYS file from root directory of the floppy. The optional file can contain a variety of commands that enable the user to customize the working environment. For instance the user may specify the number of disk buffers, the maximum number of files that can be opened, etc. If it is found, the entire CONFIG.SYS file is loaded into memory and each command in it is executed one line at a time.5: SYSINIT then loads Resident Portion of the file COMMAND.COM into memory. Once Resident Portion is loaded the SYSINIT module is discarded from memory and control is handed over the Resident Portion.6: The Resident Portion of COMMAND.COM loads the Transient Portion of COMMAND.COM into high end of memory. High end here means the top of base memory. The high end would vary from computer to computer since different computers are likely to have different base memory sizes. The Resident Portion figures out the high end from the base memory size stored at locations 0x413, 0x414 during RAM test.The Transient Portion of COMMAND.COM executes the file AUTOEXEC.BAT, if it is present in the root directory.7: The Transient Portion of COMMAND.COM finally displays the C> prompt.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.