PC Hardware

Lesson 2: MS-DOS

Lesson 1 presented the basics of operating systems-what they are and what they do. It also provided a summary of two important operating systems: MS-DOS and Windows 3.1. This lesson takes us one step further. By knowing how to configure an operating system, a computer technician can gain optimal performance from a machine. This lesson covers configuration of the MS-DOS operating system. It is not intended to be a complete course in MS-DOS; however, some important techniques useful to the computer professional are pointed out. Gaining an understanding of MS-DOS and being able to use an MS-DOS manual as a reference are requirements for the computer professional. Learning MS-DOS requires perseverance and hands-on experience.

NOTE
Many book and computer/software stores offer books that describe the various software operating systems. A reference book for each operating system is a necessary component of the computer professional's technical library.
After this lesson, you will be able to:
  • Use basic MS-DOS commands to increase the performance of a computer.

  • Optimize the MS-DOS CONFIG.SYS and AUTOEXEC.BAT files.

  • Optimize conventional memory in a MS-DOS machine.

Estimated lesson time: 45 minutes

The Boot Process

In computer terms, boot up means to start or get going. In Tutorial 6, we discussed POST (power-on self test). Once POST is complete (the basic hardware is determined to be OK), the computer loads software that tells it how to run. This software is the operating system (OS). The boot sequence for operating systems will vary. Several steps are involved in the MS-DOS system startup process:

  1. The ROM BIOS looks for an operating system. It checks for the presence of IO.SYS and MSDOS.SYS, first searching the A (floppy disk) drive and then the C drive.

  2. The operating system processes the CONFIG.SYS file (if present). The CONFIG.SYS contains information to configure the system environment including special memory management overlays and hardware drivers.

  3. COMMAND.COM is loaded.

  4. The operating system processes the AUTOEXEC.BAT file (if present). The AUTOEXEC.BAT loads programs and user-defined settings.

  5. If no programs (such as Windows) have been invoked, COMMAND.COM presents the active-drive prompt and waits for a command.

The process of starting from a no-power condition is called a cold boot. Occasionally, a system might require a reset-for instance, when the computer locks up or runs out of memory. Resetting can be accomplished without turning off the computer by holding down the CTRL, ALT, and DEL keys at the same time. This is called a warm boot.