Page 1 of 1
need further help..
Posted: Tue Oct 15, 2013 10:28 am
by Bharath85
Hi,
I want to create a OS..
I'm done with hello world kernel
and I'm stuck here and
don't know what to start and where to start in the kernel
please guide me through??
please don't mind if my English is bad
Thanks in advance
Re: need further help..
Posted: Tue Oct 15, 2013 10:53 am
by Antti
To be able to help you, we need more information. Could you be a little bit more specific? For example, is your hello world kernel a boot sector or a kernel loaded by GRUB? Where you are stuck at?
Re: need further help..
Posted: Tue Oct 15, 2013 9:57 pm
by Shaun
Antti wrote:To be able to help you, we need more information. Could you be a little bit more specific? For example, is your hello world kernel a boot sector or a kernel loaded by GRUB? Where you are stuck at?
good guy!
Re: need further help..
Posted: Tue Oct 15, 2013 10:01 pm
by Bharath85
Its kernel loaded by grub..
Re: need further help..
Posted: Wed Oct 16, 2013 12:34 am
by Antti
Perhaps it is a too big step to start writing an
actual kernel at this point. Now that you are able to print a "hello world" line, you can try to put hex numbers on the screen. For example, try to print all the register values, like:
Code: Select all
EAX = 0x1234567
EBX = 0x7654321
...
...
EDI = 0x0000000
ESI = 0x0000000
ESP = 0x0000000
EBP = 0x0000000
After that, you can try to think what else you can do with the tools you now have. For example, try to print some information the boot loader gave you. The most important thing is to make progress even if features you try are not going to end up in your "final" kernel. You will gradually get more knowledge whatever low-level code you write. Also, do not be afraid to start from scratch every now and then.
Unfortunately, I do not have any other advice at this point. Of course, you can also find some tutorials that could be helpful for you. That is the most obvious advice you will get here. However, I think you should try to play around for a while without
strictly following a tutorial. You will then realize that "I need this feature to be able to do this and this" and after that you could find information on that specific topic.
Re: need further help..
Posted: Wed Oct 16, 2013 10:52 am
by bwat
Bharath85 wrote:
I'm done with hello world kernel
and I'm stuck here and
don't know what to start and where to start in the kernel
please guide me through??
You'll find it all
here written by an expert - the man who invented semaphores - way back in 1968. He tells us what to build, and how to build it.
An interesting quote from the document:
The other remark is that the members of the group - mostly mathematicians - have previously enjoyed as good students a university training of 5 to 8 years and are of Masters or Ph.D. level. A less qualified young man, originally included, found our activities beyond his mental grasp and left the group. I mention this explicitly, because at least in Holland, the intellectual level needed for system design is in general grossly underestimated. I am more than ever convinced that this type of work is just difficult and that every effort to do it with other than the best people is doomed to either failure or moderate success at enormous expenses.