4 ms·
I started following a couple of OS-from-scratch guides a while back. There are a few that are very similar and will get you through the basics. I got things w
by crusso 9y ago
I started following a couple of OS-from-scratch guides a while back. There are a few that are very similar and will get you through the basics. I got things working up to the point of having a little OS that would boot up and take keyboard input and display it in a text terminal in various colors. This was all very straightforward and worked pretty well.
The next thing I wanted to work on was some type of process manager that would allow for multiple processes to run, each in a protected memory space. That's when it started to get pretty hairy and that little learning project bogged down. As I recall, my decision paralysis mostly stemmed from the fact that there were successive generations of ways to handle memory allocation and protection on the i386/x86_64 families, and the clear way that I should implement my little OS branched off into a lot of choices with ramifications that I was hesitating to commit to.
I'd love to go back and pick that project up where I left off. I'll muscle past that learning curve, but are there any good guides out there with more information on how modern 64-bit process management (including memory protection) is accomplished?