Home arrow Forums
OSDEV Forums  


toots
User

Fresh Osdever
Posts: 1
graphgraph
Karma: 0  
New at OS programming - 2007/12/17 04:03 Hello all, I'm new to operating system programming, but it's something I've always wanted to learn.

What I want to do is see how small I can make a functional operating system. I've been reading about some of the earliest systems, and thinking about possibly following their lead (at the beginning, anyway).

I'm thinking, use a minimal kernel and shell, a shell that includes very few commands (to start with), and it closes the shell completely on loading a new program, and loads again it on exiting (like some DOS programs).

Obviously, I'll be wanting to run it from a floppy, and not a hard disk .

What I want to ask is; where do I start? I'd like to write a kernel/OS, but all of the tuition pages I've seen on the 'net are either for "Hello world" OSs that do nothing, or writing systems that are way more complex than I want to write at the start. I'm a programming student at college, with a (small) experience in C and C++. I am armed with a linux box, but I'm not incredibly experienced with that either (I can use some command lines etc... and the GUI).
  | | The administrator has disabled public write access.
OSDEV
Community
Advertisement
   
Flux
User

Fresh Osdever
Posts: 4
graphgraph
Karma: 0  
Re:New at OS programming - 2007/12/26 14:11 You start by setting up the development and test environment. Use one of those "hello world kernels that do nothing" to check that everything works.

I suggest you use GRUB as a bootloader because it will give you time to write the actual operating system instead of fiddling with the legacy hardware initialization process.

When you have the hello world kernel working you gradually flesh it out (make sure everything works all the time, test early!):

For your os design you need at least this:
- Printing of strings
- Printing of numbers
- Screen scrolling
- Memory allocation
- Keyboard input
  | | The administrator has disabled public write access.

A WebArticles site. Sponsored by Evoleto. Motorola V525 / Business Directory / Delaware Incorporation / Home Made Bazaar