I was following the James Molloy's kernel development tutorials. (6-10)
But after a while checking the wiki I came across an article describing the errors in the tutorial. I saw that there were many, especially what I was focusing on (paging, multitasking and user mode)
It is unfortunate as they are one of the few tutorials that serve and are complete. Are there other tutorials that recommend me to describe how to do what I want?
Thanks.
Paging, heap, multitasking and user mode tutorials
-
- Member
- Posts: 119
- Joined: Wed Dec 12, 2018 12:16 pm
Re: Paging, heap, multitasking and user mode tutorials
I'd suggest to avoid tutorials in that manner. They are good to write your own small PoCs, learn how things (paging, multitasking etc.) work, but do not build your OS on any of them. That's not what they are for. The reason for this is simple: it is YOUR operating system, and nobody can read your mind and write a tutorial for you. Also tutorials may suggest that the way in which they're doing things is the only way. That's just not true, there are almost infinite number of ways to do things.
So instead blindly following a tutorial, do the following:
1. design your OS (yes, on paper, don't code anything at his point)
2. split your design into smaller parts (paging, multitasking, process-handling, driver interface etc.)
3. study tutorials to learn how they have done one or more of those parts
4. using parts of those tutorials, create testable PoCs (proof of concepts) of your own
5. finally, put your PoC code together, adding functionalities to your OS one by one
Cheers,
bzt
So instead blindly following a tutorial, do the following:
1. design your OS (yes, on paper, don't code anything at his point)
2. split your design into smaller parts (paging, multitasking, process-handling, driver interface etc.)
3. study tutorials to learn how they have done one or more of those parts
4. using parts of those tutorials, create testable PoCs (proof of concepts) of your own
5. finally, put your PoC code together, adding functionalities to your OS one by one
Cheers,
bzt