OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Feb 23, 2019 9:38 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Paging, heap, multitasking and user mode tutorials
PostPosted: Wed Jan 30, 2019 5:56 pm 
Offline
Member
Member

Joined: Wed Dec 12, 2018 12:16 pm
Posts: 67
Location: In the austral end of the world
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.

_________________
My project: GryphusOS. Nothing impressive yet to be fair.


Top
 Profile  
 
 Post subject: Re: Paging, heap, multitasking and user mode tutorials
PostPosted: Thu Jan 31, 2019 5:07 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 210
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group