Page 1 of 1
how i can build my own operating system
Posted: Fri Dec 29, 2006 4:02 pm
by csandovalm
i a newbie in these thems of the OS, and i have some question
1.- how but a x86 machine with my own OS
2.- what languages suggested for made the OS
3.- is this OS depend of the DOS or Linux.or WIn32
4.- is possible create an OS and this could work with almost every devices available today. ( i guess yes)
5.- where i can found information for start with some simple like boot machine and run small pieces or modules created?
thanks a lot
Posted: Fri Dec 29, 2006 4:17 pm
by Combuster
1: the x86 is the most popular target for hobby OSes. most people here write for it.
2: Assembly and C are standard. Pascal, C++ and Basic can be used as well (although they are more tricky).
3: OSes are generally independent of any other OS
4: There are too many devices around. You can support the majority of machines in use with limited amount of drivers, but 100% coverage is pretty much impossible.
5: Use Google
Posted: Fri Dec 29, 2006 4:30 pm
by earlz
try this tutorial on for size..assuming you develop it in C and ASM, and want to use gcc and friends
http://osdever.net/bkerndev/index.php
it's the best I've seen..
thanks a lot
Posted: Fri Dec 29, 2006 4:41 pm
by csandovalm
any about my questions?
Posted: Fri Dec 29, 2006 5:02 pm
by earlz
any tutorials about your questions?
if you read that link I put, it tells how to create a simple OS to begin with...
yes sir
Posted: Fri Dec 29, 2006 5:10 pm
by csandovalm
yes you right i saw this. recently and i am very happy with this. thanks againa and i am keep in contact for any questions.
this is a challenge for our team and we wanna make something big , i hope that
thanks
Posted: Fri Dec 29, 2006 10:37 pm
by JJeronimo
Combuster wrote:2: Assembly and C are standard. Pascal, C++ and Basic can be used as well (although they are more tricky).
Theoretically, one can use any compiled language, provided that (s)he knows the calling conventions used by the compiler...
JJ
Re: yes sir
Posted: Sat Dec 30, 2006 1:35 am
by Tyler
csandovalm wrote:yes you right i saw this. recently and i am very happy with this. thanks againa and i am keep in contact for any questions.
this is a challenge for our team and we wanna make something big , i hope that
thanks
Well in twenty years we can't wait to see it...
Posted: Sat Dec 30, 2006 1:37 am
by Tyler
Combuster wrote:4: There are too many devices around. You can support the majority of machines in use with limited amount of drivers, but 100% coverage is pretty much impossible.
Combuster, you have no enuthsiasm. If microsoft can convince support for every device then why the hell can't anyone else. If one other operating system got massive with a universally exceptable driver interface it would be possible we could all be supporting all devices.
Posted: Sat Dec 30, 2006 5:38 am
by INF1n1t
Tyler wrote:Combuster wrote:4: There are too many devices around. You can support the majority of machines in use with limited amount of drivers, but 100% coverage is pretty much impossible.
Combuster, you have no enuthsiasm. If microsoft can convince support for every device then why the hell can't anyone else. If one other operating system got massive with a universally exceptable driver interface it would be possible we could all be supporting all devices.
And why do you think they are giving support for every device...I don't think so!
Posted: Sat Dec 30, 2006 7:09 am
by Tyler
INF1n1t wrote:Tyler wrote:Combuster wrote:4: There are too many devices around. You can support the majority of machines in use with limited amount of drivers, but 100% coverage is pretty much impossible.
Combuster, you have no enuthsiasm. If microsoft can convince support for every device then why the hell can't anyone else. If one other operating system got massive with a universally exceptable driver interface it would be possible we could all be supporting all devices.
And why do you think they are giving support for every device...I don't think so!
Well i haven't ever met a device that doesn;t have a Windows Driver... but show me one and i will buy the device
Posted: Sat Dec 30, 2006 7:23 am
by Brendan
Hi,
I don't think it's necessary to write a device driver for every device ever made.
Instead, you need a device driver interface complete with documentation (so that other people can write more device drivers), plus example device drivers for each device type (one hard disk driver, one video driver, one network card driver, etc), plus enough to get basic functionality working.
If the OS is good enough other people will (hopefully) want to add extra support for their hardware.
Cheers,
Brendan
Posted: Sat Dec 30, 2006 8:55 am
by Ready4Dis
Tyler wrote:INF1n1t wrote:Tyler wrote:
Combuster, you have no enuthsiasm. If microsoft can convince support for every device then why the hell can't anyone else. If one other operating system got massive with a universally exceptable driver interface it would be possible we could all be supporting all devices.
And why do you think they are giving support for every device...I don't think so!
Well i haven't ever met a device that doesn;t have a Windows Driver... but show me one and i will buy the device
I've got a list of them if you really want to spend some cash
. Seriously though, don't kill yourself trying to support everything at first, write one or two drivers, and give users/companies a way to implement their own. Even ati and nvidia write linux drivers for their hardware now because it's growing in popularity for more than just servers. Also, a generic interface to most devices is a must, for example any video card produced since about '95 will support VESA modes, a lot of network cards are NE2000 compatible (this limits it to 10mbps, but it's better than not working!!!) Other things, like a generic ATA/ATAPI driver for hard drive and cd-rom,a floppy controller driver, etc. PS/2 keyboard/mouse, etc. All can be generic andwork on most hardware. People can take your drivers and write stuff specific to their hardware if they want, or when you get time or are using hardware that you want supported. You just have to give an interface (preferably easy to use!) for other drivers to replace the generic's, then they can all be added later.
Posted: Sat Dec 30, 2006 10:38 am
by Combuster
Tyler wrote:Combuster wrote:4: There are too many devices around. You can support the majority of machines in use with limited amount of drivers, but 100% coverage is pretty much impossible.
Combuster, you have no enuthsiasm. If microsoft can convince support for every device then why the hell can't anyone else. If one other operating system got massive with a universally exceptable driver interface it would be possible we could all be supporting all devices.
First off i assumed our friend wanted to write all his drivers himself. I think that caused this confusion.
Even Microsoft does not support all devices. I have an accellerated video card with the only existing drivers being for 9x, in a computer that only runs NT or later. I cant run games on it since windows will crash when directx tries to change modes. When my os progresses I think I should bug Micron for the specs of it as it has an GPU with programmable firmware.
@Tyler: I have some homemade devices. Only with Linux drivers. Give me a million and you can have it
Posted: Sat Dec 30, 2006 2:30 pm
by Tyler
Combuster wrote:Tyler wrote:Combuster wrote:4: There are too many devices around. You can support the majority of machines in use with limited amount of drivers, but 100% coverage is pretty much impossible.
Combuster, you have no enuthsiasm. If microsoft can convince support for every device then why the hell can't anyone else. If one other operating system got massive with a universally exceptable driver interface it would be possible we could all be supporting all devices.
First off i assumed our friend wanted to write all his drivers himself. I think that caused this confusion.
Even Microsoft does not support all devices. I have an accellerated video card with the only existing drivers being for 9x, in a computer that only runs NT or later. I cant run games on it since windows will crash when directx tries to change modes. When my os progresses I think I should bug Micron for the specs of it as it has an GPU with programmable firmware.
@Tyler: I have some homemade devices. Only with Linux drivers. Give me a million and you can have it
I don't think homemade hardware comes under the class of devices i was implying. But you did get me there... i'll have to wire you the money some time... when i get it.