How to program a OS

This is a discussion on How to program a OS within the C++ Programming forums, part of the General Programming Boards category; how?? where can i find more info on it??...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    18

    How to program a OS

    how?? where can i find more info on it??

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    19
    goto http://www.osdev.org. firstly, you'll have to pick up Assembly language programming so that you actually know what you're doing, as it's one thing to program for a protected environment, and quite another to interact directly with the hardware. it's also useful to familiarise yourself first with machine architecture (x86) and organisation. i recommend picking up a book or to (e- or paper) and then writing a few programs...

    make no mistake, writing an OS is not an easy task (depending on what you want it to do, and its degree of 'user friendliness' )

    need help -> email me!

    Peter Kimberley
    peter_kimberley@hotmail.com

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    18
    thanks..... i was thinking of doing one for my university project....
    so........ it is not possible to program a os using C++??

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    19
    it's definitely possible, but you'll have to use ASM to interface with the hardware (i.e. create a HAL - Hardware Abstration Layer). then you can use C / C++ to code the rest. it's fairly complicated, and you should have a reason for doing it, such as a self-mutating operating system....otherwise, i see that you probably want to find out how OSs work through making one - i made a mini-OS on the TI-92 calculator...if you need help with your GUI, email me, and i'll give you a hand.

    i'm in yr. 12 right now, and will be doing some research into 'code mutation' in the near future; hopefully next year....

    Peter Kimberley
    peter_kimberley@hotmail.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 11:17 PM
  2. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 11:58 PM
  3. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 07:49 PM
  4. Read/Write a excel file using C program & OS is DOS
    By akhitesh in forum C Programming
    Replies: 2
    Last Post: 05-14-2003, 12:07 AM
  5. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM

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