Simulation of OS memory management in Java.
Find a file
2026-01-11 15:44:15 +02:00
OS1Assignment.java add files 2026-01-11 15:44:15 +02:00
output-OS1 add files 2026-01-11 15:44:15 +02:00
README.md add files 2026-01-11 15:44:15 +02:00

Simulation of OS memory management

Channing Bellamy BLLCHA013

One sentence description of algorithm used:

My algorithm uses logical and arithmetic bit-shifting to obtain the 5 most significant bits to derive the base address from the page mapping, and the 7 least significant bits to derive the offset, then multiplies the physical base address by 128 and adds the offset to find the real physical address.

Additional information:

This program expects the input data to be in little-endian format (as per the examples in the assignment brief).