PDA

View Full Version : a simple OS



DavidP
06-03-2004, 08:04 PM
I am thinking about starting work on a very simple OS because I want to learn a little more about how they work.

Does anyone know any good sites on this topic?

Also, a few questions:

1. How would you go about telling the computer as it is booting up to execute your program, the OS.
2. I assume Windows executables and Linux executables have different file formats (I have never studied the file format of executable files on any platform), so how would the computer know how to read your executable file and operate it, unless I am wrong and all executable files follow the same format no matter what OS. I assume the "file format" isnt really a format, and that the exe just contains an uncompressed listing of the hexidecimal codes that must be executed. Is that correct?
3. Once the computer knows to execute your program at bootup as the OS, what steps must be taken to take control of the computer and what tasks must be done.

Pretty simple questions. Obviously I know nothing about creating and OS.

I have focused on game development for the past 6 years :D

Thantos
06-03-2004, 08:11 PM
http://www.flashdaddee.com/forums/forumdisplay.php?s=&forumid=20
http://www.flashdaddee.com/forums/showthread.php?s=&threadid=180

Good luck

bludstayne
06-04-2004, 12:31 AM
I'm designing an OS, but it's mainly just for testing some ideas I have. The first thing I want to do with it is test my idea for an object orientated storage system instead of using a traditional file-system. I'm just going to try a bunch of crazy crap like that with it.

http://www.osdev.org/ is where I started. Flashdaddee is awesome for stuff like this too. Practice your ASM stuff a bit and read a lot of stuff. That's what you'll be doing the whole time. It's fun, and I remember how cool I felt when I made my first boot system (2 stage, soon to be 3 stage).

chrismiceli
06-06-2004, 12:11 AM
Might want to buy a book or two like I have
http://www.oreilly.com/catalog/linuxkernel/

bennyandthejets
06-06-2004, 01:45 AM
I went to OSDev and couldn't really find any actual tutorials. Does anyone know of a site where they actually show you how to write a simple OS, and maybe even provide some source code?

Salem
06-06-2004, 02:08 AM
How about this site?
http://www.nondot.org/sabre/os/articles

bennyandthejets
06-06-2004, 02:31 AM
Looks good. Needs linux though, so I'm downloading Slackware as we speak. I've never used Linux before, I'm pretty excited.:)

golfinguy4
06-06-2004, 08:49 PM
http://electrichamster.net/lucie/
http://www.flashdaddee.com/forums/showthread.php?s=&threadid=1585

bludstayne
06-06-2004, 10:47 PM
I went to OSDev and couldn't really find any actual tutorials. Does anyone know of a site where they actually show you how to write a simple OS, and maybe even provide some source code?
I just go there for the links. Bona Fide is an excellent site on OS development. Follow the links and you'll have quite a few resources.