Ms dos pc dos
This presentation is the property of its rightful owner.
Sponsored Links
1 / 27

MS-DOS / PC-DOS PowerPoint PPT Presentation

  • Uploaded on
  • Presentation posted in: General

MS-DOS / PC-DOS. Lindsey Buranych Alan Crouch Matthew Letnaunchyn Sandy Saab Carl Shapiro. Today we’ll discuss:. History and Overview of MS-DOS/PC-DOS Process States and Process Data Structures File Management ~ FAT File System Conclude with questions. MS-DOS Overview.

Download Presentation


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript

Ms dos pc dos


Lindsey Buranych

Alan Crouch

Matthew Letnaunchyn

Sandy Saab

Carl Shapiro

Today we ll discuss

Today we’ll discuss:

  • History and Overview of MS-DOS/PC-DOS

  • Process States and Process Data Structures

  • File Management ~ FAT File System

  • Conclude with questions

Ms dos overview

MS-DOS Overview

  • MS-DOS is a text-based PC operating system created by Seattle Computer Products in 1980 as QDOS, later renamed 86-DOS, because it’s designed to run on the Intel 8086 processor. (

  • MS-DOS was originally released in 1981 and had eight major versions in its’ development.

Pc dos overview

PC-DOS Overview

  • IBM PC-DOS was one of the three major operating systems that dominated the personal computer market from 1985 to 1995.

  • The original arrangement between IBM and Microsoft was that Microsoft would provide the base product, and that both firms would work on developing different parts to create a more powerful and robust, shared system.

  • It was nearly identical to MS-DOS.

Environment requirements

Environment Requirements

  • Processor: Intel 80486, 80386, 80286, 8086, 8088

  • Maximum Number of Processors: 1

  • Number of Bits: 16

  • RAM: 512 KB

  • Drive Space: 5 MB

  • Drives: Run from hard disk or diskette

  • Video: Monochrome, CGA, EGA, VGA or better

  • File Systems: FAT, SMB

Technical success

Technical Success

  • Highly successful operating system on the PC platform.

  • “It is still used in various embedded x86 systems due to its simplistic architecture, minimal memory requirements, and minimal processor speed requirements.” (Wikipedia).

  • Led to the development of OS/2

Did this operating system advance the state of the art

Did this Operating System advance the state-of-the-art?

  • “MS-DOS soared in popularity with the surge in the PC market. This product continued to be the largest single contributor to Microsoft's income well after it had become more famous for Windows.” (Wikipedia)

  • File Management System (FAT) advanced File Management Techniques

What was done right with it and what was done wrong

What was done right with it, and what was done wrong?

  • MS-DOS was not designed to be a multi-user or multitasking operating system.

    • Add-on environments attempted to provide multitasking and achieved some success, when combined with the virtual 8086 mode and virtual memory features of the Intel 80386 .

  • Another limitation of DOS was the lack of a graphical user interface. The desire for an interactive, graphical interface (influenced by the Apple Macintosh).

    • Several programs running under MS-DOS introduced their own graphical interfaces, however, this did not provide much consistency. “Non-Microsoft efforts to provide a consistent interface also failed.” (

  • The file management system (FAT) was also a very successful tool that would be modified and updated for years to come.

Allowable process states

Allowable Process States

DOS Allows Three

Basic Process States:

  • Running

  • Ready

  • Blocked

Process state running

Process State: Running

  • DOS is a one process, one thread operating system.

  • In the running state, there is one process using the CPU at a certain time.

  • There is only one running process at any time.

Process state ready

Process State: Ready

  • In the ready state, the process is temporarily stopped by the operating system. This allows another process to run. (Dagunduro)

  • A ready process is waiting for its turn on the processor. (Coulson)

Process state blocked

Process State: Blocked

  • In the blocked state, the process cannot run until some external events have taken place. (Dagunduro)

  • A blocked process requests a resource that is not available at the moment, so it remains blocked until the resource it needs becomes available. (Nutt, 220).

Allowable process states1

Allowable Process States

Process data structures

Process Data Structures

  • The PSP (Program Segment Prefix)

    • Contains control blocks that handle various OS related tasks

      • Termination Handler

      • Segment Address referencing the top of the program

      • Function Dispatcher

      • Previous contents of the interrupt vector

      • Segment address of the environment block

      • Command Line Parameters

    • 256 bytes long

    • Bottom of transient program’s memory block

The com process

The COM process

  • Absolute memory image of a program

  • No bigger than 64K

  • No internal identifying information

  • Code and data mixed together

The exe process

The EXE process

  • Can be as large as available primary memory

  • Code, data, and program stack can reside in separate places.

  • Extensive header information

File management

File Management

For all File Management DOS

Uses the FAT File System

(File Allocation Table)

The FAT file system is composed of four different sections including:

- Boot Sector

  • FAT Region

  • Root Directory Region

  • Data Region.

Fat boot sector

FAT: Boot Sector

  • The Boot Sector is located in the first partition of the disk

  • Has three major parts:

    • some basic file system information

    • pointers to the location of the other sections

    • the operating system’s boot loader code

Fat fat region

FAT: FAT Region

  • The FAT Region contains two copies of the File Allocation Table for the sake of redundancy.

  • These are used as a map of the partition to indicate how the clusters are allocated.

Fat root directory region

FAT: Root Directory Region

  • Always located directly after the FAT Region

  • Stores information about the files and directories in the root directory

Fat data region

FAT: Data Region

  • Where the actual file and directory data is stored

  • Takes up the majority of the partition

  • A partition is divided into identically-sized clusters whose size vary depending on the FAT version and partition size

    • typically cluster sizes lie between 2KB and 32KB and are not necessarily stored adjacently on the disk's surface, but are instead fragmented throughout the Data Region.

Fat data region cont

FAT: Data Region cont.

  • The size of files and subdirectories in the Data Region can be increased arbitrarily, as long as there are free clusters

    • This is done by simply adding more links to the file's chain in the FAT.

    • Note however, that each cluster can be taken only by one file, and so if a 1KB file resides in a 32KB cluster, 31KB are wasted.

File allocation table

File Allocation Table

  • The File Allocation Table (FAT) is a list of entries that map to each cluster on the partition.

  • Each of these entries records one item

    • address of the next cluster in a chain

    • a special character called end of file that indicates the end of a chain

    • one of three special characters marking:

      • a bad cluster, a reserved cluster, or an unused cluster

File allocation table1

File Allocation Table

Fat directory table

FAT: Directory Table

  • A directory table is a special type of file that represents a directory.

  • Each file or directory stored within it represents a 32 byte entry in the table that records the name, extension, attributes, creation time, address of first cluster and the size of the directory.

Fat directory table1

FAT: Directory Table

Sample Parts of the Directory Table:



  • Login