noob OS writer

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
darrel.h
Posts: 4
Joined: Tue Feb 28, 2006 12:00 am

noob OS writer

Post by darrel.h »

hello all,

i am a newbie to writing operating systems. i have a few questions:

1) should i start with a command line or GUI operating system
2) what language should i be using to write my first operating system?
User avatar
xenos
Member
Member
Posts: 1121
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

Re: noob OS writer

Post by xenos »

1) Since GUI development is a task of its own, it is much easier and certainly better to start developing a command line OS.

2) The most common language to write an OS is C / C++. You will also need some assembler knowledge because some features (like dealing with segment registers or control registers) can't be done in C.
darrel.h
Posts: 4
Joined: Tue Feb 28, 2006 12:00 am

Re: noob OS writer

Post by darrel.h »

what other language other that c or c++ can i use to write an OS? i don't like these programming languages because i have had a few bad experiences with them
User avatar
matthias
Member
Member
Posts: 158
Joined: Fri Oct 22, 2004 11:00 pm
Location: Vlaardingen, Holland
Contact:

Re: noob OS writer

Post by matthias »

You can try pascal, don't ask me how, but it's possible, try google ;)

And if you don't like assembler, you can forget about writing an OS. Everyone needs assembler doesn't matter if you're writing C/C++/Pascal etc.
Last edited by matthias on Wed Mar 01, 2006 12:00 am, edited 1 time in total.
The source of my problems is in the source.
Da_Maestro
Member
Member
Posts: 144
Joined: Tue Oct 26, 2004 11:00 pm
Location: Australia

Re: noob OS writer

Post by Da_Maestro »

The operating systems on the Space Shuttle are programmed using ADA...so if your platform is the space shuttle then you can use that language.

If your platform is the picoJAVA2 (like my mobile phone) then you can use java to write your OS ;-) (well, java and JVM)
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
Post Reply