Skip to content

MUMEi-28/VirtualMemorySimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Memory Simulator

📌 Overview

This project is a Unity-based simulation program that demonstrates the concepts of Page Replacement Algorithms:

  • FIFO (First In First Out)
  • LRU (Least Recently Used)
  • OPT (Optimal Replacement)

🎮 How to Play

  • Select the number of page frames and reference string length at the start.
  • Press the Generate Button.
  • Press the Simulate Button.
  • Choose an algorithm (FIFO, LRU, or OPT) to simulate.
  • View the number of page faults and simulation details!

🧠 Algorithms Implemented

✅ FIFO (First-In, First-Out)

Replaces the oldest page in memory.

✅ LRU (Least Recently Used)

Replaces the page that has not been used for the longest time.

✅ OPT (Optimal)

Replaces the page that will not be used for the longest time in the future.


📦 Download & Installation

Version Link Instructions
Windows (.exe) Download EXE Build Download the .zip → Extract → Run the .exe file
Android (.apk) Download APK Build Download the .apk → Transfer to your phone → Install APK (Allow "Unknown Sources" if needed)
Web Browser Play Web Version Open the link → No installation needed! Just click and play!

next time ko na update nalang yung exe at apk 😵‍💫

💻 Technologies Used

  • Unity (C#)
  • TextMeshPro for UI
  • Visual Studio Code
  • Unity Editor 2022.3.49f1

📸 Sample Screenshots

image

image

image

image

image

image


🎨 Assets Used

Asset Link
Font (VT323) Google Fonts - VT323
Background Track Retro 8-Bit RPG Music Pack (May Genko)
Button Sound Effects Free UI Click Sound Pack
GUI Icons 2D Simple UI Pack

📢 Important Notes

  • All third-party assets are credited.
  • This project is for educational use only.
  • If you encounter issues installing APKs, allow installation from "Unknown Sources" in your Android settings.

🧑‍🎓 Author

Marc Jersey M. Castro
BSCS / CCS Student
Final Project – Chapter 10: Page Replacement Algorithms