This contains the code, documentations and explanation for CZ2005
Added most of the logs and explanation because I'm frustrated with the lack of one online
- Code has been added with many printf statements along the way to help with visualising how NachOS work
- I have attached logs and PDF (and Google Sheets) to explain what is happening at each tick
- Can be found in
lab2/adrian_logs
in the.txt
file format - These logs are the actual logs exported from the console
- Added for the functions
TestValueOne
andTestConsistency
- No logs added for
TestValueMinusOne
as it is very similar toTestValueOne
- Can be found in
lab2/adrian_logs
in the.pdf
file format - Refer to the respective logs for reference
- For
TestConsistency()
, the processes are broken into pieces and colour coded to improve readability
https://docs.google.com/spreadsheets/d/1uD0-EUDeB5vLQ5G0ty4uBFruhZshrRdW7N5MOD-S2gc/edit?usp=sharing
- Shout out to my buddy https://github.com/SoulXHades - a fair bit of code is copied done by him
- The lack of online guide/documentation by anyone