SlideShare a Scribd company logo
1 of 7
11/13/01 CS-550 Presentation - Overview of
Microsoft disk operating system.
1
An Overview of Microsoft Disk
Operating System
11/13/01 CS-550 Presentation - Overview of
Microsoft disk operating system.
2
Introduction to MS-DOS
• An operating system is a set of interrelated programs that manage and control computer
processing.The Microsoft Disk Operating System, MS-DOS, is a traditional
microcomputer operating system that consists of four major components.
• The Operating-system loader
- It brings the operating system from the startup into RAM.
- Bootstrapping
• The MS-DOS BIOS
- BIOS stands for Basic Input/Output systems
- Loaded from the file IO.SYS during initialization.
- Layer that sits between operating system kernel and hardware.
• The User Interface (shell)
- Conventional program that allows the user to interact with the operating system.
- Default MS – DOS user interface is a shell program called Command.com.
• The MS-DOS Kernel
- Heart of the operating system
- it is a proprietary program supplied by Microsoft corporation.
11/13/01 CS-550 Presentation - Overview of
Microsoft disk operating system.
3
MS-DOS Kernel
•The kernel provides a collection of hardware-independent services called system functions.
- File Management
- Memory Management
- Device Input and Output
- Process control
11/13/01 CS-550 Presentation - Overview of
Microsoft disk operating system.
4
File Management
• Block Devices are accessed on a sector basis. The MS- DOS kernel through the device driver sees a
block as a logical fixed size array of sectors. the device driver in turn translates the logical sector
requests from the MS – DOS into physical locations on the block device.
• MS – DOS file system is divided into four parts
- Boot Sector
- Always at the beginning of a partition.
- Contains OEM identification, a loader routine , and a BIOS parameter block.
- File Allocation Tables (FAT)
- Provides a map to the storage locations of files on the disk by indicating which
clusters are allocated to each file.
- Second copy of FAT as back up.
- Free cluster is found by scanning the FAT for a zero value.
- Root directory
- Root directory entries are 32 bytes long.
- Each entry includes a filename and extension, size, starting FAT entry, the time and date the
file was created and the files attributes.
- Files Area
- Contains subdirectories, file data and unallocated clusters.
- The area is divided into fixed size clusters and the use for a particular cluster is
specified by the corresponding FAT entry
11/13/01 CS-550 Presentation - Overview of
Microsoft disk operating system.
5
Memory Management
• Based on a pool of variable sized memory blocks.
• Two basic functions are to allocate a block from the pool and to return the allocated block to the pool.
• MS-DOS compatible personal computers can be fitted with three kinds of RAMs
– Conventional Memory
– Expanded Memory
– Extended Memory
• Conventional Memory
- Up to 1MB of Memory is directly addressable.
- Physical addresses for references are generated by a 16-bit segment register combined with 16-bit offset.
- Out of 1MB MS-DOS occupies 640KB of the conventional memory.
- This 640KB is divided into three zones
- The interrupt vector table
- Occupies lowest 1024 bytes of memory.
- Its address and length are hardwired into the processor and cannot be changed.
- The operating system area
- Begins immediately above the interrupt vector table.
- Holds the operating system, its tables and buffers, and device drivers.
- Amount of memory occupied varies from version to version of MS-DOS.
- The transient program area
- Remainder of the 640KB area.
- Organized into a structure called Memory Arena, which is divided into arena entries (memory
blocks).
- Each arena entry has a arena entry header.
11/13/01 CS-550 Presentation - Overview of
Microsoft disk operating system.
6
How MS-DOS supports Conventional Memory Management
• The MS-DOS kernel supports three memory management functions, invoked with interrupt 21H, which operate
on the TPA:
- Function 48H (Allocate Memory block)
- Function 49H (Free Memory block)
- Function 4AH (Resize Memory block)
• The memory manager can use any of three allocation strategies:
- First fit – the arena entry at the lowest address that is large enough to satisfy the request.
- Best fit – the smallest available arena entry that satisfies the request, regardless of its position.
- Last fit – the arena entry at the highest address that is large enough to satisfy the request
Default approach used by MS-DOS is First-fit approach.
Expanded Memory
- To circumvent the 1MB limit of conventional memory, expanded memory was designed.
- As much as 8MB of expanded memory can be installed in a single machine.
- Made available to the application software in 16KB pages.
Expanded Memory Manager
- Provides an interface between application programs and expanded memory.
- Divided into Driver and Manager.
- Manager controls the status, allocation, mapping and deallocation of expanded memory.
Extended Memory
- Storage at addresses above 1MB that can be accessed in Protected mode.
- Extended memory is linearly addressable, so no manager required.
11/13/01 CS-550 Presentation - Overview of
Microsoft disk operating system.
7
Device Input and Output
• MS-DOS recognizes two types of devices: block devices e.g. floppy disk or fixed disk
drives; and character devices, e.g keyboard, display, printer, and communication ports.
• MS-DOS identifies each block device by a drive letter assigned when the devices
controlling software, the device driver, is loaded. A character device on the other hand,
is identified by a logical name built into the device driver.
• Distinction between character and block devices is that the MS-DOS always adds new
block – device drivers to the tail of the driver chain but adds new character – device
drivers to the head of the chain.
• Techniques to access character devices:
- Handle type function calls
A handle is a 16 bit number returned by the operating system whenever a device is
opened or created.
- Character input and output functions:
Interrupt 21H functions 01H to 0CH. These functions are designed to communicate
directly with the keyboard, display, printer and serial port.
Process Control
• Process, or task, control includes program loading, task execution, task termination, task
scheduling and intertask communication.
• MS-DOS is not a multitasking operating system ,it is a single tasking operating system.

More Related Content

What's hot

Driver development – memory management
Driver development – memory managementDriver development – memory management
Driver development – memory managementVandana Salve
 
Secondary storage structure-Operating System Concepts
Secondary storage structure-Operating System ConceptsSecondary storage structure-Operating System Concepts
Secondary storage structure-Operating System ConceptsArjun Kaimattathil
 
Board support package_on_linux
Board support package_on_linuxBoard support package_on_linux
Board support package_on_linuxVandana Salve
 
Storage management in operating system
Storage management in operating systemStorage management in operating system
Storage management in operating systemDeepikaT13
 
Swap space management and protection in os
Swap space management and protection  in osSwap space management and protection  in os
Swap space management and protection in osrajshreemuthiah
 
Dos prompt, types of commands .27 t028
Dos prompt, types of commands  .27 t028Dos prompt, types of commands  .27 t028
Dos prompt, types of commands .27 t028myrajendra
 
Unit vos - File systems
Unit vos - File systemsUnit vos - File systems
Unit vos - File systemsdonny101
 
Operatingsystems
Operatingsystems Operatingsystems
Operatingsystems kuldeepy60
 
Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)Afaq Siddiqui
 
Os solaris memory management
Os  solaris memory managementOs  solaris memory management
Os solaris memory managementTech_MX
 

What's hot (20)

Dos
DosDos
Dos
 
Driver development – memory management
Driver development – memory managementDriver development – memory management
Driver development – memory management
 
file management
 file management file management
file management
 
9781111306366 ppt ch2
9781111306366 ppt ch29781111306366 ppt ch2
9781111306366 ppt ch2
 
Secondary storage structure-Operating System Concepts
Secondary storage structure-Operating System ConceptsSecondary storage structure-Operating System Concepts
Secondary storage structure-Operating System Concepts
 
Board support package_on_linux
Board support package_on_linuxBoard support package_on_linux
Board support package_on_linux
 
SSD HSD storage drives
SSD HSD storage drives SSD HSD storage drives
SSD HSD storage drives
 
Storage management in operating system
Storage management in operating systemStorage management in operating system
Storage management in operating system
 
Os
OsOs
Os
 
OSCh13
OSCh13OSCh13
OSCh13
 
Swap space management and protection in os
Swap space management and protection  in osSwap space management and protection  in os
Swap space management and protection in os
 
Dos prompt, types of commands .27 t028
Dos prompt, types of commands  .27 t028Dos prompt, types of commands  .27 t028
Dos prompt, types of commands .27 t028
 
9781111306366 ppt ch3
9781111306366 ppt ch39781111306366 ppt ch3
9781111306366 ppt ch3
 
9781111306366 ppt ch5
9781111306366 ppt ch59781111306366 ppt ch5
9781111306366 ppt ch5
 
Unit vos - File systems
Unit vos - File systemsUnit vos - File systems
Unit vos - File systems
 
Operatingsystems
Operatingsystems Operatingsystems
Operatingsystems
 
Case study windows
Case study windowsCase study windows
Case study windows
 
Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)
 
Operating system and services
Operating system and servicesOperating system and services
Operating system and services
 
Os solaris memory management
Os  solaris memory managementOs  solaris memory management
Os solaris memory management
 

Viewers also liked

How to create a powerpoint presentation ms toni
How to create a powerpoint presentation ms toniHow to create a powerpoint presentation ms toni
How to create a powerpoint presentation ms tonitoni1969
 
Teaching Excel
Teaching ExcelTeaching Excel
Teaching Excelsam ran
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMridul Bansal
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentationegirshovich
 
Microsoft word basics ppt
Microsoft word basics pptMicrosoft word basics ppt
Microsoft word basics pptjdbutler13
 

Viewers also liked (7)

How to create a powerpoint presentation ms toni
How to create a powerpoint presentation ms toniHow to create a powerpoint presentation ms toni
How to create a powerpoint presentation ms toni
 
MS OFfice presentation
MS OFfice presentationMS OFfice presentation
MS OFfice presentation
 
Teaching Excel
Teaching ExcelTeaching Excel
Teaching Excel
 
Introduction to microsoft word 2007
Introduction to microsoft word 2007Introduction to microsoft word 2007
Introduction to microsoft word 2007
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentation
 
Microsoft word basics ppt
Microsoft word basics pptMicrosoft word basics ppt
Microsoft word basics ppt
 

Similar to Dheeraj chugh -_presentation_on_ms-dos

Similar to Dheeraj chugh -_presentation_on_ms-dos (20)

Ms dos
Ms dosMs dos
Ms dos
 
BIOS AND OS
BIOS AND OSBIOS AND OS
BIOS AND OS
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
OS full chapter.ppt
OS full chapter.pptOS full chapter.ppt
OS full chapter.ppt
 
Windows 1Fundaments.ppt
Windows 1Fundaments.pptWindows 1Fundaments.ppt
Windows 1Fundaments.ppt
 
OS-20210426203801 introduction to os.ppt
OS-20210426203801 introduction to os.pptOS-20210426203801 introduction to os.ppt
OS-20210426203801 introduction to os.ppt
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
Introduction and fundamentals of Operating System.ppt
Introduction and fundamentals of Operating System.pptIntroduction and fundamentals of Operating System.ppt
Introduction and fundamentals of Operating System.ppt
 
Operating system.pptx
Operating system.pptxOperating system.pptx
Operating system.pptx
 
Operating system.pptx
Operating system.pptxOperating system.pptx
Operating system.pptx
 
BSP.pptx
BSP.pptxBSP.pptx
BSP.pptx
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
File000128
File000128File000128
File000128
 
operating system1.pdf
operating system1.pdfoperating system1.pdf
operating system1.pdf
 
I/O System and Case Study
I/O System and Case StudyI/O System and Case Study
I/O System and Case Study
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
Os concepts
Os conceptsOs concepts
Os concepts
 
PC hardware components ppt slide_week2.ppt
PC hardware components ppt slide_week2.pptPC hardware components ppt slide_week2.ppt
PC hardware components ppt slide_week2.ppt
 

Recently uploaded

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 

Dheeraj chugh -_presentation_on_ms-dos

  • 1. 11/13/01 CS-550 Presentation - Overview of Microsoft disk operating system. 1 An Overview of Microsoft Disk Operating System
  • 2. 11/13/01 CS-550 Presentation - Overview of Microsoft disk operating system. 2 Introduction to MS-DOS • An operating system is a set of interrelated programs that manage and control computer processing.The Microsoft Disk Operating System, MS-DOS, is a traditional microcomputer operating system that consists of four major components. • The Operating-system loader - It brings the operating system from the startup into RAM. - Bootstrapping • The MS-DOS BIOS - BIOS stands for Basic Input/Output systems - Loaded from the file IO.SYS during initialization. - Layer that sits between operating system kernel and hardware. • The User Interface (shell) - Conventional program that allows the user to interact with the operating system. - Default MS – DOS user interface is a shell program called Command.com. • The MS-DOS Kernel - Heart of the operating system - it is a proprietary program supplied by Microsoft corporation.
  • 3. 11/13/01 CS-550 Presentation - Overview of Microsoft disk operating system. 3 MS-DOS Kernel •The kernel provides a collection of hardware-independent services called system functions. - File Management - Memory Management - Device Input and Output - Process control
  • 4. 11/13/01 CS-550 Presentation - Overview of Microsoft disk operating system. 4 File Management • Block Devices are accessed on a sector basis. The MS- DOS kernel through the device driver sees a block as a logical fixed size array of sectors. the device driver in turn translates the logical sector requests from the MS – DOS into physical locations on the block device. • MS – DOS file system is divided into four parts - Boot Sector - Always at the beginning of a partition. - Contains OEM identification, a loader routine , and a BIOS parameter block. - File Allocation Tables (FAT) - Provides a map to the storage locations of files on the disk by indicating which clusters are allocated to each file. - Second copy of FAT as back up. - Free cluster is found by scanning the FAT for a zero value. - Root directory - Root directory entries are 32 bytes long. - Each entry includes a filename and extension, size, starting FAT entry, the time and date the file was created and the files attributes. - Files Area - Contains subdirectories, file data and unallocated clusters. - The area is divided into fixed size clusters and the use for a particular cluster is specified by the corresponding FAT entry
  • 5. 11/13/01 CS-550 Presentation - Overview of Microsoft disk operating system. 5 Memory Management • Based on a pool of variable sized memory blocks. • Two basic functions are to allocate a block from the pool and to return the allocated block to the pool. • MS-DOS compatible personal computers can be fitted with three kinds of RAMs – Conventional Memory – Expanded Memory – Extended Memory • Conventional Memory - Up to 1MB of Memory is directly addressable. - Physical addresses for references are generated by a 16-bit segment register combined with 16-bit offset. - Out of 1MB MS-DOS occupies 640KB of the conventional memory. - This 640KB is divided into three zones - The interrupt vector table - Occupies lowest 1024 bytes of memory. - Its address and length are hardwired into the processor and cannot be changed. - The operating system area - Begins immediately above the interrupt vector table. - Holds the operating system, its tables and buffers, and device drivers. - Amount of memory occupied varies from version to version of MS-DOS. - The transient program area - Remainder of the 640KB area. - Organized into a structure called Memory Arena, which is divided into arena entries (memory blocks). - Each arena entry has a arena entry header.
  • 6. 11/13/01 CS-550 Presentation - Overview of Microsoft disk operating system. 6 How MS-DOS supports Conventional Memory Management • The MS-DOS kernel supports three memory management functions, invoked with interrupt 21H, which operate on the TPA: - Function 48H (Allocate Memory block) - Function 49H (Free Memory block) - Function 4AH (Resize Memory block) • The memory manager can use any of three allocation strategies: - First fit – the arena entry at the lowest address that is large enough to satisfy the request. - Best fit – the smallest available arena entry that satisfies the request, regardless of its position. - Last fit – the arena entry at the highest address that is large enough to satisfy the request Default approach used by MS-DOS is First-fit approach. Expanded Memory - To circumvent the 1MB limit of conventional memory, expanded memory was designed. - As much as 8MB of expanded memory can be installed in a single machine. - Made available to the application software in 16KB pages. Expanded Memory Manager - Provides an interface between application programs and expanded memory. - Divided into Driver and Manager. - Manager controls the status, allocation, mapping and deallocation of expanded memory. Extended Memory - Storage at addresses above 1MB that can be accessed in Protected mode. - Extended memory is linearly addressable, so no manager required.
  • 7. 11/13/01 CS-550 Presentation - Overview of Microsoft disk operating system. 7 Device Input and Output • MS-DOS recognizes two types of devices: block devices e.g. floppy disk or fixed disk drives; and character devices, e.g keyboard, display, printer, and communication ports. • MS-DOS identifies each block device by a drive letter assigned when the devices controlling software, the device driver, is loaded. A character device on the other hand, is identified by a logical name built into the device driver. • Distinction between character and block devices is that the MS-DOS always adds new block – device drivers to the tail of the driver chain but adds new character – device drivers to the head of the chain. • Techniques to access character devices: - Handle type function calls A handle is a 16 bit number returned by the operating system whenever a device is opened or created. - Character input and output functions: Interrupt 21H functions 01H to 0CH. These functions are designed to communicate directly with the keyboard, display, printer and serial port. Process Control • Process, or task, control includes program loading, task execution, task termination, task scheduling and intertask communication. • MS-DOS is not a multitasking operating system ,it is a single tasking operating system.