Code Monkey home page Code Monkey logo

ossimulator's Introduction

OsSimulator

Simulated operating system written in Java 8.

The OS will take in a specific configuration file and a specific meta data file to load and run an operating system.

Example Configuration File

Start Simulator Configuration File
Version/Phase: 3.0
File Path: Test_3a.mdf
Processor cycle time {msec}: 5
Monitor display time {msec}: 22
Hard drive cycle time {msec}: 150
Projector cycle time {msec}: 550
Keyboard cycle time {msec}: 60
Memory cycle time {msec}: 10
Scanner cycle time {msec}: 15
System memory {kbytes}: 2048
Memory block size {kbytes}: 128
Projector quantity: 4
Hard drive quantity: 2
Log: Log to File
Log File Path: logfile_1.lgf
End Simulator Configuration File

Example Meta Data File

Start Program Meta-Data Code:
S{begin}0; A{begin}0; P{run}11; M{allocate}2;
O{monitor}7; I{hard drive}8; O{projector}20;
M{allocate}4; A{finish}0; A{begin}0; O{projector}6; M{allocate}3; I{hard drive}7;
O{hard drive}2; O{hard drive}16; M{allocate}4;
P{run}6; O{projector}4; A{finish}0; A{begin}0; M{block}6; I{keyboard}17;
M{block}4; P{run}5; P{run}5; O{hard drive}6;
P{run}18; A{finish}0; S{finish}0.
End Program Meta-Data Code.

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.