Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 08-31-2004, 04:41 PM   #1
Baseband Member
 
kenhkan's Avatar
 
Join Date: Aug 2004
Posts: 34
Default Writing my Own Kernel?!

Hi, everyone.

I am curious if it is possible to make my own kernel (probably a linux one) using C++ since I'm not good at C... >_<
If there is one written in C++ and it is open-source, can anyone tell me where to find it? Even if not... can anyone tell me where to find a "small" (by small I mean kernels' source code that are small in size thus easier to understand) kernel written in C? Thank you!
__________________

kenhkan is offline   Reply With Quote
Old 08-31-2004, 07:43 PM   #2
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default

Small in Kernals is still scores of thousands of lines long. You could write a Kernal in C++ - just put on the C++ Compiler to Assembly Code.

But it will be hard...
__________________

__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 09-01-2004, 12:58 AM   #3
Baseband Member
 
kenhkan's Avatar
 
Join Date: Aug 2004
Posts: 34
Default Re: Writing my Own Kernel?!

I see......

But does anyone have sites or documentations on kernel programming (better if demonstrated in C++)?
kenhkan is offline   Reply With Quote
Old 09-01-2004, 04:23 AM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,003
Default Re: Writing my Own Kernel?!

you might want to have a look at Linux or Mimix, they are both Unix like cores.

Apparantly it's quite easy to write a Disk opperating system, they difficult bit is finding applications to work on your DOS.
root is offline   Reply With Quote
Old 09-01-2004, 05:33 PM   #5
Baseband Member
 
kenhkan's Avatar
 
Join Date: Aug 2004
Posts: 34
Default Re: Writing my Own Kernel?!

linux and mimix, eh?......

i'll try to study their kernel's code then.
but what do you mean by "disk opperating system". I don't get this term.

Thanks.
kenhkan is offline   Reply With Quote
Old 09-02-2004, 09:19 AM   #6
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,003
Default Re: Writing my Own Kernel?!

Where you say Kernel I say DOS.

Linux is a Disk opperating system,
MS DOS is a disk opperating system
NT DOS, FreeDOS OS/2 MAC OS everything is a disc opperating syetm. they opperate the machine hardware and snd signals of how to read and write data.
the pretty windows you see in front of you are not really a part of the OS they are just a shell that sits on top.
Once you have the disk oppearting system making the disc spin, and you have the shell then you really need to have some applications.
Linux uses the GNU applications, without GNU linux is nothing more than something that makes some light come on and disks spin.

There are quite a lot of small DOS's out there that are usefull, but as I said you need to make sure there is some kind of coherance and compatibility with applications or else your DOS will be practically useless.
root is offline   Reply With Quote
Old 09-02-2004, 03:01 PM   #7
Baseband Member
 
kenhkan's Avatar
 
Join Date: Aug 2004
Posts: 34
Default Re: Writing my Own Kernel?!

oh i get it......... how stupid was I!
DOS = Disk Operating System
lol, thx a lot root!
__________________

kenhkan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 02:26 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0