Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,261 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,533 people online right now. Registration is fast and FREE... Join Now!




a c++ operating system !

 
Reply to this topicStart new topic

a c++ operating system !, is it possible?

josh06
6 Nov, 2006 - 11:14 AM
Post #1

New D.I.C Head
Group Icon

Joined: 27 Oct, 2006
Posts: 46


Dream Kudos: 175
My Contributions
Is it actuall possible to make an operating system out of C++?????? You know, like a simple DOS based os. Cos when I have learnt it all, I would like to have that project in mind. smile.gif also. Is it possible to even make a GUI for the OS if you built one???? And final question. Like in a year or 2, would anyone care to help me make an OS????? I may sound silly but it's one of my goals. biggrin.gif
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: A C++ Operating System !
6 Nov, 2006 - 11:20 AM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,230



Thanked: 40 times
Dream Kudos: 25
My Contributions
Is it possible? Are you writining this post from Windows or linux? Both are majority written in either C or C++. GUIs are certainly possible...check out MFC, Win32, GTK...etc...
User is offlineProfile CardPM
+Quote Post

NyeNye
RE: A C++ Operating System !
6 Nov, 2006 - 05:26 PM
Post #3

D.I.C Head
**

Joined: 24 Sep, 2006
Posts: 248


My Contributions
linux had c++ codes 90+%...

it is possible.... huh.gif it is a lot of work but it is a nice..idea to create your own customize OS..

Lol
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: A C++ Operating System !
7 Nov, 2006 - 06:18 AM
Post #4

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 3,914



Thanked: 34 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Yes, you can create your custom OS.
Many Degree courses in Computer Science have that as part of their curriculum.
User is offlineProfile CardPM
+Quote Post

josh06
RE: A C++ Operating System !
7 Nov, 2006 - 08:27 AM
Post #5

New D.I.C Head
Group Icon

Joined: 27 Oct, 2006
Posts: 46


Dream Kudos: 175
My Contributions
WoW! cool, Im gonna get my head down and learn C++ and maybe ASM. Is a lot of windows probably C++?. Thanks for answering
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: A C++ Operating System !
7 Nov, 2006 - 09:10 AM
Post #6

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 3,914



Thanked: 34 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Yes, infact it is.

You'll never go wrong learning ASM.
Sometimes with the knowledge of ASM, you can also solve problems that you have no knowledge of.

Some portions of every OS is written in ASM, or uses C with Assembly Inserts.
User is offlineProfile CardPM
+Quote Post

horace
RE: A C++ Operating System !
7 Nov, 2006 - 09:18 AM
Post #7

D.I.C Addict
Group Icon

Joined: 25 Oct, 2006
Posts: 573



Thanked: 4 times
Dream Kudos: 50
My Contributions
An good way to learn about low level programming and implementing real time operating systems is to use a microcontroller development board such as the EASYdsPIC2 (which has an onboard programmer)
http://www.mikroe.com/en/tools/easydspic2/
It has lots of I/O devices such as switchs, LEDs, LCD display, UARTS, CANBUS, I2C, SPI, etc

you can download the MPLAB development environment and C30 compiler free from
http://www.microchip.com




User is offlineProfile CardPM
+Quote Post

What?
RE: A C++ Operating System !
27 Oct, 2007 - 05:06 PM
Post #8

New D.I.C Head
*

Joined: 27 Oct, 2007
Posts: 1


My Contributions
QUOTE(josh06 @ 6 Nov, 2006 - 12:14 PM) *

Is it actuall possible to make an operating system out of C++?????? You know, like a simple DOS based os. Cos when I have learnt it all, I would like to have that project in mind. smile.gif also. Is it possible to even make a GUI for the OS if you built one???? And final question. Like in a year or 2, would anyone care to help me make an OS????? I may sound silly but it's one of my goals. biggrin.gif



Yes I Would Love to build a Operating System Myself, However i do not know how, if You wish to help me figure this out Email Me @ kevinharris1991@yahoo.comm (Perposly Mispelled to protect my Email account from Spam) plz HELP!
User is offlineProfile CardPM
+Quote Post

RodgerB
RE: A C++ Operating System !
27 Oct, 2007 - 11:05 PM
Post #9

D.I.C Lover
Group Icon

Joined: 21 Sep, 2007
Posts: 2,132



Thanked: 17 times
Dream Kudos: 2200
Expert In: Dot Net Technologies

My Contributions
QUOTE(What? @ 28 Oct, 2007 - 12:06 PM) *

Yes I Would Love to build a Operating System Myself, However i do not know how, if You wish to help me figure this out Email Me @ kevinharris1991@yahoo.comm (Perposly Mispelled to protect my Email account from Spam) plz HELP!


Hey everyone, can someone help me to like, umm make Windows?! If this is your kind of thinking, quit while you're ahead, If you are seriously interested in creating a basic operating system I suggest you learn ASM anyway, I found a really good tutorial here: http://www.groovyweb.uklinux.net/index.php...your%20own%20os

(Sorry I couldn't find any C++ ones, but I'm sure you'd be able to execute it with Assembly Inserts).
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: A C++ Operating System !
28 Oct, 2007 - 06:52 AM
Post #10

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,013



Thanked: 18 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
QUOTE(born2c0de @ 7 Nov, 2006 - 01:10 PM) *

Yes, infact it is.

You'll never go wrong learning ASM.
Sometimes with the knowledge of ASM, you can also solve problems that you have no knowledge of.

Some portions of every OS is written in ASM, or uses C with Assembly Inserts.

Most definitely it is an interesting experience to say the least. Suddenly the reason for comments becomes clear when you have no idea what an OS method does, but you think it's what you need, lol.

I would suggest to anyone who wants to build an OS or part of an OS that they know at least the basics of C and ASM, and probably a good amount of C++.
From personal experience simply modifying an OS is harder than it sounds, much less writing your own. I would greatly push modifying a linux kernel be your first step. Add a simple functionality to it, just to see what kind of operations are needed to do everything in an OS. Since linux is open source and the kernel is available free, thus why i choose it. It also comes with a make file so you can run it with QEMU or some other virtual OS software and not risk a reboot should the new code fail.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 06:56PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month