Bootloader devlopment

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
Ehsanulhaq
Posts: 8
Joined: Sat Apr 10, 2010 1:59 am

Bootloader devlopment

Post by Ehsanulhaq »

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

Re: Bootloader devlopment

Post by qw »

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.
Ehsanulhaq
Posts: 8
Joined: Sat Apr 10, 2010 1:59 am

Re: Bootloader devlopment

Post by Ehsanulhaq »

Actually,its not my home work i am completing these assignments only for learning purpose.could you plz help?
User avatar
lemonyii
Member
Member
Posts: 153
Joined: Thu Mar 25, 2010 11:28 pm
Location: China

Re: Bootloader devlopment

Post by lemonyii »

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!
Enjoy my life!------A fish with a tattooed retina
User avatar
qw
Member
Member
Posts: 792
Joined: Mon Jan 26, 2009 2:48 am

Re: Bootloader devlopment

Post by qw »

I already helped you by pointing to this forum and the wiki. The rest is up to you.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Bootloader devlopment

Post by neon »

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?
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Post Reply