OS
-
Can anyone help me program an OS? -------------------------- Eric I still need to learn C++! --------------------------
-
Can anyone help me program an OS? -------------------------- Eric I still need to learn C++! --------------------------
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.
-
Can anyone help me program an OS? -------------------------- Eric I still need to learn C++! --------------------------
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