In the trance between the landlord has been sophomore, this time period I am afraid not to think about what to start looking for work and other things, honestly learn something is the most important, so I aimed at the operating system of learning, nachos is a learning operating system, easy to get started, and UC Berkeley Computer Academy also provides Java write nachos source code, use object-oriented thinking to learn the mechanism of operating system, feel more suitable for the landlord I this small white to learn. The landlord will continue to update this series of learning experience, there are any errors in the place to look at you a lot of corrections. Landlord qq:81996308 willing and everyone to become pen pal!
First, you need to download the Windows version of the source code, official website: http://www.cs.berkeley.edu/~kubitron/courses/cs162-F05/Nachos/index.html
Landlord I also uploaded a free resource URL: http://download.csdn.net/detail/u014492257/8604723
Then, we'll focus on importing nachos source code into eclipse under Windows:
1. Open Eclipse, set up the project, named Nachos2, as shown in:
2. Find the new project Nachos2 corresponding working path, copy the extracted nachos source code to the SRC folder:
3. Copy the Nachos.confi file from the proj1 to the root path of the nachos project, which is the same path as the SRC folder:
after the above three steps are done, you can run the following steps: Find the Nachos.machine.Machine.java file and right-click to run it.
If the Eclipse console runs as shown, then the code import Eclipse success, you can start to read code, code read we can program, the next one months time the landlord will and everyone read a piece of code, a study, due to the capacity of the landlord limited, what is not suitable place, I hope you have a lot of advice!
Nachos Operating System Learning (1) Import nachos source code to eclipse under Windows