A Java Operating System simulator featuring an interactive GUI dashboard. It models CPU scheduling (Round Robin, HRRN, MLFQ), memory management, disk swapping, mutual exclusion, and process execution. Built to visualize real-time OS behaviors like process states, memory protection, and system call handling.
- Process Management: Simulates Process Control Blocks (PCBs) and process states (New, Ready, Running, Blocked, Finished).
- CPU Scheduling: Implements multiple scheduling algorithms including Round Robin (RR), Highest Response Ratio Next (HRRN), and Multi-Level Feedback Queue (MLFQ).
- Memory Management: Simulates a RAM environment with memory protection, contiguous allocation, and swapping idle processes to a mock disk (
Disk.txt). - Concurrency Control: Includes
MutexandMutexManagerto handle locks and resource sharing between simulated processes. - Interactive Dashboard: A visual GUI (
OSDashboard.java) that allows you to step through execution, pause/resume, and view the live state of memory and processes. - Custom Interpreter: Reads and executes custom text-based program files (
Program_1.txt, etc.).