Page 1 of 1
What's the best way to start OS development?
Posted: Mon Oct 09, 2017 2:57 am
by lxmcf
Hi guys, I'm currently a hobbyist game developer and I'm looking to broaden my programming knowledge so thought I'd jump in the deep end and build an OS from scratch.
I am a complete rookie when it comes to this sort of thing to the point all I know is I should learn Assembly and C (I don't know any of these as my only OS development type of experience came from using COSMOS).
Was just recommended to start here from some people on devRant and was wondering if anyone could give me some pointers or point me to some tutorials that would be worth looking at.
Cheers guys!
Re: What's the best way to start OS development?
Posted: Mon Oct 09, 2017 6:43 am
by MajickTek
COSMOS is not OS developement. Unless you got the devkit, you have never made an os in C# or VB.
The COSMOS userkit is technically an api for creating userspace applications for COSMOS in C# or VB.
If you actually want to make an OS in C# or VB, you can modify the COSMOS devkit or look in the wiki.
We have startercode for Rust, GO, BASIC, Swift, Java, C, C++, Assembly (in many different architectures) and more.
http://wiki.osdev.org/Category:Languages
If you are wondering if language x can be used to create OS y, check here:
http://wiki.osdev.org/Languages
If you really are just starting, i recommend these links:
http://wiki.osdev.org/Introduction
http://wiki.osdev.org/Required_Knowledge
And most importantly,
http://wiki.osdev.org/Beginner_Mistakes
I hope you have a good time in OS Developement!
P.S.: If you are so inclined (and you have patience), you can talk with all of us in real-time using an IRC client, at #osdev in Freenode.
If you have no idea what that means or how to do that, visit as a guest here:
https://webchat.freenode.net .
Just supply a nickname and for the channel box just enter "#osdev" without the quotes.
Re: What's the best way to start OS development?
Posted: Mon Oct 09, 2017 4:54 pm
by lxmcf
lxmcf wrote:Hi guys, I'm currently a hobbyist game developer and I'm looking to broaden my programming knowledge so thought I'd jump in the deep end and build an OS from scratch.
I am a complete rookie when it comes to this sort of thing to the point all I know is I should learn Assembly and C (I don't know any of these as my only OS development type of experience came from using COSMOS).
Was just recommended to start here from some people on devRant and was wondering if anyone could give me some pointers or point me to some tutorials that would be worth looking at.
Cheers guys!
Awesome thankyou so much.
And I am aware COSMOS isn't true OS development, just stating that I do have very little knowledge when it comes to this sort of thing.
Re: What's the best way to start OS development?
Posted: Thu Oct 12, 2017 4:00 pm
by max
MajickTek wrote:COSMOS is not OS developement. Unless you got the devkit, you have never made an os in C# or VB.
The COSMOS userkit is technically an api for creating userspace applications for COSMOS in C# or VB.
Oh well, you can't say that it's "not OS development". It might have nothing to do with kernel development, because you basically get a ready kernel and build an application upon that. But if you just use the bare COSMOS and build a userspace on top of it, you could sure call the OS development. Experience there shouldn't prematurely be discredited.
For starting as MajickTek said, just get a bare bones kernel running and then extend it by some features you're interested in. Once you get deeper into the stuff you'll get a feeling for where to continue
Re: What's the best way to start OS development?
Posted: Thu Oct 12, 2017 5:56 pm
by cheapskate01
max wrote:MajickTek wrote:COSMOS is not OS developement. Unless you got the devkit, you have never made an os in C# or VB.
The COSMOS userkit is technically an api for creating userspace applications for COSMOS in C# or VB.
Oh well, you can't say that it's "not OS development". It might have nothing to do with kernel development, because you basically get a ready kernel and build an application upon that. But if you just use the bare COSMOS and build a userspace on top of it, you could sure call the OS development. Experience there shouldn't prematurely be discredited.
Agreed. I always used to justify my COSMOS development by referring to COSMOS as a megalithic system. Probably not right, but it helped me to understand that what you created, or at least contributed to, is a real OS, and does fall under OSDEV.