hello all
i m making own os, i had finished boot.asm, but i must load kernel and switch a20 when os is loaded after boot.
i consider transplant, so the kernel_loader use c language, i had made clear screen program, but i must get hd and fd drive parm from bios, but how can i do?
help!help!help!help!help!help!help! ::) ::)
make boot loader together.
Re:make boot loader together.
what does your "boot.asm" do?
you usally load your kernel with the help of the BIOS and then wait with stuff like a fd/hd driver which means that you won't need any "parm" yet.
you usally load your kernel with the help of the BIOS and then wait with stuff like a fd/hd driver which means that you won't need any "parm" yet.
Re:make boot loader together.
Do you write the boot loader because you want to learn about boot loaders, or is it just a necessary evil for you on the path to your own OS?
If it's the latter, consider using GRUB. It does the kernel-loading and the switch to protected mode, the probing of RAM and even loading of additional kernel modules for you.
If it's the latter, consider using GRUB. It does the kernel-loading and the switch to protected mode, the probing of RAM and even loading of additional kernel modules for you.
Every good solution is obvious once you've found it.