New to OS Development Industries

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.
User avatar
vincelawrence
Posts: 19
Joined: Thu May 17, 2012 5:02 pm
Location: PH - Luzon - Tanay, Rizal

New to OS Development Industries

Post by vincelawrence »

Hello there! I am wondering where or how to start developing an OS, can you suggest me some tutorials or teach me so with a complete list of requirements and tools to be used
Sin is pleasure!
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: New to OS Development Industries

Post by gerryg400 »

The wiki has lots of information. Have you seen it?
If a trainstation is where trains stop, what is a workstation ?
User avatar
vincelawrence
Posts: 19
Joined: Thu May 17, 2012 5:02 pm
Location: PH - Luzon - Tanay, Rizal

Re: New to OS Development Industries

Post by vincelawrence »

Yeah, but its abit comfusing when it comes to coding, i can't see any further info about where to put the codes and what type of files nor file names to be used and tools needed except NASM
Sin is pleasure!
roboman
Posts: 24
Joined: Fri Feb 27, 2009 9:41 am
Location: USA
Contact:

Re: New to OS Development Industries

Post by roboman »

The first thing you need to do is write or select a boot loader. This is the little program that goes on the boot sector of the disk. It gets loaded by the computers bios when you turn on or reboot. The little program either loads the OS or loads a larger more complex boot loader that loads the OS. You can start out by writing a simple hello world program in asm that doesn't use any thing except bios calls and use it to test if the bios actually loads a program. That is kind of the first step, to be able to get the OS off the drive and into memory.
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: New to OS Development Industries

Post by Kazinsal »

Getting Started

Hot damn.
User avatar
vincelawrence
Posts: 19
Joined: Thu May 17, 2012 5:02 pm
Location: PH - Luzon - Tanay, Rizal

Re: New to OS Development Industries

Post by vincelawrence »

Already read that, i need something more clear and shorter

By the way, i am trying to get my hands on FASM instead of NASM
Sin is pleasure!
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: New to OS Development Industries

Post by bluemoon »

vincelawrence wrote:Already read that, i need something more clear and shorter
I would say those are already too short for OS development. #-o
You aware OS development itself is very complex task? It is not possible to clearly explain general relativity, QED or how to build a rocket in a paragraph.
User avatar
vincelawrence
Posts: 19
Joined: Thu May 17, 2012 5:02 pm
Location: PH - Luzon - Tanay, Rizal

Re: New to OS Development Industries

Post by vincelawrence »

Yeah :lol:

Can you suggest me some Dev Kits? A complete set of source codes for bootloader, kernel and such
Sin is pleasure!
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: New to OS Development Industries

Post by piranha »

Yes. Here ya go!
Bootloader: http://www.gnu.org/software/grub/
Kernel: http://kernel.org/

If you mean something you can actually read and really learn from easily, try minix. Try some small simple bootloaders that you can play around with. They're on the wiki. If the getting started articles on the wiki are to complicated for you, then you are probably not ready for os development.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: New to OS Development Industries

Post by gerryg400 »

vincelawrence wrote:...info about where to put the codes and .....
Isn't that more normally spelled "teh codez" ?
If a trainstation is where trains stop, what is a workstation ?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: New to OS Development Industries

Post by Combuster »

Looks like this year's noob season has started.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Griwes
Member
Member
Posts: 374
Joined: Sat Jul 30, 2011 10:07 am
Libera.chat IRC: Griwes
Location: Wrocław/Racibórz, Poland
Contact:

Re: New to OS Development Industries

Post by Griwes »

You know, some exams have finished, so newbies try to start they adventure with programming by writing their own OS capable of running everything on every device, including ant's brain (someone mentioned that in one of posts few days ago, I still find it funny).
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: New to OS Development Industries

Post by bluemoon »

Griwes wrote:You know, some exams have finished, so newbies try to start they adventure with programming by writing their own OS capable of running everything on every device, including ant's brain (someone mentioned that in one of posts few days ago, I still find it funny).
But AFAIK female ant's brain are incompatible with male ant's, it will be a tough mission.
User avatar
Griwes
Member
Member
Posts: 374
Joined: Sat Jul 30, 2011 10:07 am
Libera.chat IRC: Griwes
Location: Wrocław/Racibórz, Poland
Contact:

Re: New to OS Development Industries

Post by Griwes »

bluemoon wrote:
Griwes wrote:You know, some exams have finished, so newbies try to start they adventure with programming by writing their own OS capable of running everything on every device, including ant's brain (someone mentioned that in one of posts few days ago, I still find it funny).
But AFAIK female ant's brain are incompatible with male ant's, it will be a tough mission.
That only creates need for one additional version of HAL; for ant's brain, you would end up with AMHAL and AFHAL, that's not a big deal.
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: New to OS Development Industries

Post by bluemoon »

No you can't do that. As soon as you attempt to install anything, including exception handlers, on a female ant's brain it generate a fault.

(enough for joke) 8)
Locked