zerocc2014 / OsSimulator

Simulated operating system written in Java 8.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simulated operating system written in Java 8.


Languages

Language:Java 97.0%Language:Makefile 3.0%