hello,
i apologies if this question seems to be in wrong section, but i am new to kernel as well as osdev.org!!!
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!!)
Can I include a TEXT EDITOR in my newly developed kernel??
Re: Can I include a TEXT EDITOR in my newly developed kernel
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)
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)
Um, why would they give you a project that is impossible?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.
My hero, is Mel.
Re: Can I include a TEXT EDITOR in my newly developed kernel
"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.
- Brynet-Inc
- 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
This is like asking a toddler to build a real airplane, the only reference being a paper airplane made by a 5 year old.
- Combuster
- 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
"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
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
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