Memory (revision 151027-r02)¶
- Download the simulation file:
wget https://projects.ui.ac.id/attachments/download/8336/Memori.tar.gz
- Extract the archive:
tar -xzf Memori.tar.gz rm -f Memori.tar.gz
- Enter Memori directory:
cd Memori
- First Simulation
- Enter MemorySimulation directory:
cd MemorySimulation
- Compile all available java files:
javac *.java
- Run the simulation:
appletviewer VirtualMemory.html
- Observe how the simulation works while listening to the assistant.
- Exit from the simulation by closing the program window.
- Exit from the MemorySimulation directory:
cd ..
- Enter MemorySimulation directory:
- Second Simulation
- Enter MemoryTutorial_Simulator directory:
cd MemoryTutorial_Simulator
- Compile all available java files:
javac *.java
- Run the second simulation:
java Camera
- This window will be available:
- Click the Virtual Memory and Paging button (bottom right):
- The next window will be availabe:
- Click the Auto Generate Add which is located on the Mid right part of the window. Take note of the result:
- Click the Next button which is located on the bottom right part of the window. Observe how the simulation is progressing, mainly on the Progress UPDATE part.
- Keep on clicking the Next button while observing until the last random address generated is translated.
- Exit from the simulation by closing the all simulation windows.
- Exit from MemoryTutorial_Simulator directory:
cd ..
- Enter MemoryTutorial_Simulator directory:
- Exit from Memori directory:
cd ..
- Fill out WHAT-IS-THIS.txt file with:
- Your explanation on the first Simulation.
- "Address Reference String" which you got after clicking Auto Generate Add button twice.
- Your explanation on the second Simulation.
- This is the end of the Memory Task.