Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. OS

OS

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tuotrut
    wrote on last edited by
    #1

    Can anyone help me program an OS? -------------------------- Eric I still need to learn C++! --------------------------

    W S T 3 Replies Last reply
    0
    • T Tuotrut

      Can anyone help me program an OS? -------------------------- Eric I still need to learn C++! --------------------------

      W Offline
      W Offline
      waxie
      wrote on last edited by
      #2

      wow, that is a very tough question you have there.:omg: waxie

      1 Reply Last reply
      0
      • T Tuotrut

        Can anyone help me program an OS? -------------------------- Eric I still need to learn C++! --------------------------

        S Offline
        S Offline
        Sebastian Schneider
        wrote on last edited by
        #3

        First: Read about PC boot procedures and events. You could also look at a free OS (Linux? FreeDOS?) in order to learn how they implemented that. Or you could resort to a "boot-manager" ala LILO or GRUB and try to build on that. You also need to read about processor modes (real mode, protected mode, how to switch between them, etc.). When you have a basic OS up (probably mostly ASM-code) you can think about porting a compiler (GCC?), probably in an older version, to work on your OS. Remember that almost all "new" compilers are compiled by an "old" compiler. If you are that far, think about porting "standard tools" like directory browsing (have you decided on a partition format yet or are you gonna create your own?) and a driver framework. Building a VERY BASIC OS may not be too difficult. I remember seeing a book about that once, which claimed that you could write your own "basic" OS within a few weeks of work. I hope this helps :) Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.

        1 Reply Last reply
        0
        • T Tuotrut

          Can anyone help me program an OS? -------------------------- Eric I still need to learn C++! --------------------------

          T Offline
          T Offline
          Toby Opferman
          wrote on last edited by
          #4

          That's like asking "How do I write a 3D game?" such a broad question that if you ask it you aren't ready to write one. 8bc7c0ec02c0e404c0cc0680f7018827ebee

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups