why not an operating system?
Hi guys I want some informations on how the operating systems are made--just the basic of them. How they are constructed-- Do you have any information or any web site. I think that we can start building one from now. Please give some comments!:D ;) :p
Don't go too deep into programming! (Just joking)
"Don't go too deep into programming! (Just joking)"? Programming an OS is pretty deep.
Don't forget to write interfaces (drivers) for all the popular hardware. If you are writing your own custom OS for a smaller set of (custom) hardware, then you have an easier task.
Some Source Code to get you started
Hi All,
I can't remember where I got it but I actually have some source code for a version of DOS, it includes all of the c++ side of things, however, does not contain any assembly code. So once you've got the asm code going you should be able to fiddle around with this and combine the 2 together to come up with an OS!
I haven't really had much of a look at this so if anyone finds anyhting interesting please comment.
Regards,
Smithy.
harder than what they say
I have done heavey resurch into building your own OS. It is harder than what everyone is telling you. Of course you must know ASM. But you don't want to work with DOS!!!! So 90% of what every one previous to this post has said will not work!
You don't want to go straight into c++ either. You want to do plain C.
If I were you I would get a VERY VERY stripped down, non GUI, copy of Linux. Just the OS and some sort of Compiler for it. Scrap all of the aditional software. Use it as a guid line to writing your own OS but do not directly copy it. Once you build your OS/Kernel... then rewrite the compiler to work with your OS if it doesn't already. When you have a functional C compiler for your OS... then you can do anything you want. But note -- the open source for the compiler must be totally stripped down to a level that can work for you. You don't want it using "evil" headers.
L8r,
Brandon
Hehe, forgot about that part!
Hi,
Brandito is right, you have to write a compiler for your OS or else people won't be able to write programs for it! and niether will you.
The Source that I have included in this forum is DOS-C which apparently is a GNU OS and from what I have just brielfly looked over it can read fat format so basically if you are able to fiddle around with this a bit and re-compile it you'll be at where Microsoft was when they brought PC DOS and edited it and release it as MSDOS 1.0
So I guess if you really want to start heading down that path than this is a start.
Regards,
Smithy.