Skip to content

atharvameshram/MOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOS

Multi-Programming OS

This directory includes three phases of a MOS. There mainly 3 components of the MOS:

  • CPU
  • Card Reader
  • Line Printer
  1. Along every phase of the MOS, CPU definitions such as Memory, Registers, etc becomes more structured.
  2. Card Reader is the input given (from an input .txt file) to the CPU with a defined structure as follows -
    • $AMJ000100010001
      • AMJ ~ A Multiprogramming Job
      • The next 3 numbers of 4 digits each represent
        • a. Job Id
        • b. Total Time Limit
        • c. Total Line Limit
    • GD10PD10H
      • This is a Program Card consisting of program instructions. GD (Get Data), PD (Put Data), H (Halt) as such have certain OS functionalities associated with them.
    • $DTA
      • This represents that following cards are Data Cards.
    • Hello World!
      • Data provided to the OS.
    • $END0001
      • This depicts the end of the program or job with specified id.
  3. Line Printer outputs the program output on an output .txt file.

With every phase, the complexity of the OS increases such as Paging is introduced over Phase 2 and overall error handling of the OS becomes better.

About

Multi-Programming OS Phase 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages