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

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Sudhendu
Posts: 1
Joined: Mon Aug 30, 2010 3:28 am

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

Post 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!!)
User avatar
qw
Member
Member
Posts: 792
Joined: Mon Jan 26, 2009 2:48 am

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

Post by qw »

Yes it is.
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

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

Post 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?
My hero, is Mel.
User avatar
Creature
Member
Member
Posts: 548
Joined: Sat Dec 27, 2008 2:34 pm
Location: Belgium

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

Post 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.
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

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

Post 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.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

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

Post by Combuster »

"Building an airplane" is inspecific enough that it includes lego and non-lego versions, so...
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Mohanty
Member
Member
Posts: 28
Joined: Fri Jul 30, 2010 9:15 am
Location: India
Contact:

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

Post 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
Post Reply