a simple OS

This is a discussion on a simple OS within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I am thinking about starting work on a very simple OS because I want to learn a little more about ...

  1. #1
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738

    a simple OS

    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
    My Website

    "Circular logic is good because it is."

  2. #2

  3. #3
    Banned
    Join Date
    Dec 2003
    Posts
    367
    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).

  4. #4
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    Might want to buy a book or two like I have
    http://www.oreilly.com/catalog/linuxkernel/
    Help populate a c/c++ help irc channel
    server: irc://irc.efnet.net
    channel: #c

  5. #5
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    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?
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,671
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    Looks good. Needs linux though, so I'm downloading Slackware as we speak. I've never used Linux before, I'm pretty excited.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  8. #8

  9. #9
    Banned
    Join Date
    Dec 2003
    Posts
    367
    Quote Originally Posted by bennyandthejets
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 02-03-2009, 03:45 AM
  2. Simple Socialising Chat Bots
    By bengreenwood in forum C++ Programming
    Replies: 10
    Last Post: 11-28-2007, 07:42 AM
  3. simple 2d "putpixel" api for windows?
    By spiky in forum C Programming
    Replies: 2
    Last Post: 10-27-2005, 02:44 PM
  4. C++ Datatypes and OS Datatypes :: C++
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 12-07-2002, 01:06 PM
  5. What do YOU want in a OS?
    By commanderrulz in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 09-30-2001, 06:25 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21