Giter Site home page Giter Site logo

os_sim's Introduction

os_sim

Overview

os_sim is a C++ project simulating an operating system. The project includes several files to manage different aspects of the operating system simulation. An upcoming feature will be allowing the user to make real time changes to the CPU (as of right now, you can only use OS functions in the main function).

Files

  • CMakeLists.txt: CMake configuration file to build the project.
  • OpSys.cpp: Contains the main functionality of the operating system simulation.
  • OpSys.h: Header file for the OpSys class.
  • PCB.cpp: Implementation of the Process Control Block (PCB).
  • PCB.h: Header file for the PCB class.
  • utility.cpp: Contains utility functions used by the project.
  • README.md: Project documentation.

Compilation Instructions

Using CMake

  1. Install CMake: Ensure you have CMake installed on your system. You can download it from here.
  2. Create a Build Directory and enter it: Navigate to your project directory and create a build directory.
    mkdir build
    cd build
  3. Generate Build Files: Run CMake to generate the build files.
    cmake ..
  4. Build the Project: Compile the project using the generated build files.
    cmake --build .
  5. Run the Executable: After building, you can run the generated executable (the name will depend on your configuration).
    ./os_sim

Using g++

If you prefer using g++ to compile the project manually, you can do the following:

  1. Compile: Use g++ to compile the source files.
    g++ -o os_sim OpSys.cpp PCB.cpp utility.cpp
  2. Run: Execute the compiled program.
    ./os_sim

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

  • umarhunter

Contact

For any questions or issues, please contact umarhunter.

os_sim's People

Contributors

umarhunter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.