Page 1 of 1

Can I include a TEXT EDITOR in my newly developed kernel??

Posted: Mon Aug 30, 2010 3:43 am
by Sudhendu
hello,
i apologies if this question seems to be in wrong section, but i am new to kernel as well as osdev.org!!! :o

I am writing a Kernel as my final Year project in Engineering. I am referring Bran's kernel development tutorial (only).
I am doubted about can i use a hard disk with my kernel(Bran's says no need!!).
My project guide wants me to include a game & text editor which can save a file .txt onto the hard disk, and later retrieve it,
please lemma know, if it is possible.
i will really be thankful for a fast reply, as my days are short. (i mean, project duration!!)

Re: Can I include a TEXT EDITOR in my newly developed kernel

Posted: Mon Aug 30, 2010 3:49 am
by qw
Yes it is.

Re: Can I include a TEXT EDITOR in my newly developed kernel

Posted: Mon Aug 30, 2010 9:55 am
by Coty
Here is how you know:

Can Windows, Linux, or Mac-OSX do it? Since they are OSes and they do it, the answer would be yes, if they can do it, you can do it. (I am not saying it will be easy)
My project guide wants me to include a game & text editor which can save a file .txt onto the hard disk, and later retrieve it,
please lemma know, if it is possible.
Um, why would they give you a project that is impossible?

Re: Can I include a TEXT EDITOR in my newly developed kernel

Posted: Mon Aug 30, 2010 12:15 pm
by Creature
"game" and "text editor" are relative and open to interpretation (text mode or with a GUI?), this way, the task can be fairly easy to very hard. If we're talking text mode game and text editor, you could just write Oxo, TicTacToe or Guess-The-Number and then write some very basic ATA code with e.g. FAT12. Of course the difficulty will increase a lot of we're talking about a GUI, program loading, etc. You could even skip ATA/FAT12 and go with a GRUB module for a text file.

Re: Can I include a TEXT EDITOR in my newly developed kernel

Posted: Mon Aug 30, 2010 5:59 pm
by Brynet-Inc
This is like asking a toddler to build a real airplane, the only reference being a paper airplane made by a 5 year old.

Re: Can I include a TEXT EDITOR in my newly developed kernel

Posted: Tue Aug 31, 2010 5:40 am
by Combuster
"Building an airplane" is inspecific enough that it includes lego and non-lego versions, so...

Re: Can I include a TEXT EDITOR in my newly developed kernel

Posted: Tue Sep 14, 2010 1:04 pm
by Mohanty
Implementing an editor is good thought, but for that your kernel Design should be very important. You have to design it with
1. kernel mode
2. user mode.

Otherwise Everything("application-Your editor" and "your kernel") will work in lebel-0. So there will be no difference between app. and kernel.

For Implementing above concept you have to write some System calls, good Task manager, memory manager etc...

Actually Kernel is a very Vast Thing...After Getting Experience You can do what you want, so make research. Here No one can Practically Help you, on this topic.
so best of luckkkkkkkkkkkkkkk