Simple emulation to a simple Operating system
This OS includes 1.an interpreter that reads the txt files and executes their code. 2. Scheduler is responsible for scheduling between the processes in the Ready queue. 3. Memory Management --> the memory is divided into memory words, each word can store 1 variable and it’s corresponding data. 4. Process Control Block --> In order to schedule your processes, you will need to keep a PCB for every process.
The Data inside the PCB includes:
- Process ID
- Process State
- Program Counter
- Memory Boundaries
The OS handles these system calls:
- Read the data of any file from the disk.
- Write text output to a file in the disk.
- Print data on the screen.
- Take text input from the user.
- Reading data from memory.
- Writing data to memory.