I'm back with another question. How can I start my kernel from my bootsector? Do I need to manipulate the memory in any way? Is there code that I can add to my bootsector to start my kernel directly? I would appreciate a response.
Thanks,
Ollie .
PS: I'm sorry if I keep posting questions like this. I have only just started programming operating systems, and I keep running into bugs.
Starting Kernel from Bootsector
- ollie123
- Member
- Posts: 26
- Joined: Tue May 27, 2008 2:42 am
- Location: Great Yarmouth, Norfolk, United Kingdom
Starting Kernel from Bootsector
Last edited by ollie123 on Mon Jun 02, 2008 11:45 am, edited 1 time in total.
- ollie123
- Member
- Posts: 26
- Joined: Tue May 27, 2008 2:42 am
- Location: Great Yarmouth, Norfolk, United Kingdom
There's alot of tutorials, which one should I pick?Combuster wrote:Assuming that you have at least followed the many tutorials around, what about them do you not understand?
NEW TO OPERATING SYSTEM DEVELOPMENT
Good OS Development Tutorials: http://www.brokenthorn.com/Resources/OSDevIndex.html
Good OS Development Tutorials: http://www.brokenthorn.com/Resources/OSDevIndex.html
Though I should let you do this yourself I can recommend:
http://www.osdever.net/tutorials/loading_sectors.php
http://www.osdever.net/tutorials/ch01.php
Are you planning on working in real or protected mode?
Jules
http://www.osdever.net/tutorials/loading_sectors.php
http://www.osdever.net/tutorials/ch01.php
Are you planning on working in real or protected mode?
Jules
Re: Starting Kernel from Bootsector
I think nobody here can claimed to have got very far in their OS before encountering a bug (certainly not me...). Its not meant to be easy...ollie123 wrote: PS: I'm sorry if I keep posting questions like this. I have only just started programming operating systems, and I keep running into bugs.
- ollie123
- Member
- Posts: 26
- Joined: Tue May 27, 2008 2:42 am
- Location: Great Yarmouth, Norfolk, United Kingdom
I would use GRUB, but I still want to learn how to write bootsectors.huxuelei wrote:why not use GRUB as your bootloader?
NEW TO OPERATING SYSTEM DEVELOPMENT
Good OS Development Tutorials: http://www.brokenthorn.com/Resources/OSDevIndex.html
Good OS Development Tutorials: http://www.brokenthorn.com/Resources/OSDevIndex.html
-
- Member
- Posts: 41
- Joined: Sat May 24, 2008 12:41 pm
- Location: La Plata, Argentina