Hi,
I am trying to complete os assignments of princeton university. I have started the project #1 that is to complete the boot loader code. I have written some code but its not working correctly. The problem is to read and store kernel of 128 sectors from boot device and store it at 0000:1000,allocate stack to it and then pass control to it.
Could any one plz help???
Bootloader devlopment
Re: Bootloader devlopment
Sorry Ehsanulhaq, you should do your homework yourself. There is more than enough information about boot loaders in this forum and on the wiki. Good luck.
-
- Posts: 8
- Joined: Sat Apr 10, 2010 1:59 am
Re: Bootloader devlopment
Actually,its not my home work i am completing these assignments only for learning purpose.could you plz help?
Re: Bootloader devlopment
However,you can't seek for help without giving your own code,right?
what we could only to is to help you debug,not think or write.
Come on!
what we could only to is to help you debug,not think or write.
Come on!
Enjoy my life!------A fish with a tattooed retina
Re: Bootloader devlopment
I already helped you by pointing to this forum and the wiki. The rest is up to you.
Re: Bootloader devlopment
Hello,
If you have code that is not working correctly why not post your current code, the steps you have taken to debug it, and the problem that is happening?
If you have code that is not working correctly why not post your current code, the steps you have taken to debug it, and the problem that is happening?
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}