Booting

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
Chris

Booting

Post by Chris »

I wrote my own bootsector that checks for a 386+and switches the a20 line on. What do I do next??
K.J.

Re: Booting

Post by K.J. »

Enable Protected Mode. Check out:

http://www.execpc.com/~geezer/os/

for info on Protected Mode.

K.J.
roswell

Re: Booting

Post by roswell »

Hi, I don't know exactly what you want to do, but I think you should use an existing BootLoader such as GRUB.

It uses MULTIBOOT standart which detects some important features of your computer.


But if you still want to write your own loader. The next step is to switch to Big Real Mode.

From a memory point of view, Real Mode is a reduced protected mode that can be enhanced.

Switch to protected mode, change the limits of each data and code register. Go back to real mode.

You will be able to access memory over 1M.

Good Luck
K.J.

Re: Booting

Post by K.J. »

Oh, and you should probably write a kernel.

K.J.
tapas

Re: Booting

Post by tapas »

i am tapas and new to os developements.i wanna know about creating bootsector for my new os.plz help me
K.J.

Re: Booting

Post by K.J. »

Your new to OS dev? Like how new? If your really new to OS dev then I suggest that you read df's Write Your Own Operating System [FAQ] here:

http://www.mega-tokyo.com/os/os-faq.html

For info on the bootsector I suggest that you look at the topic on this message board called:

About booting the kernel

K.J.
Post Reply