Am i thinking along the right lines?
Posted: Sun Mar 18, 2007 7:58 am
Hello osdevers, Im new to OS Development and have been reading alot of articles about loading and running kernels from bootloaders etc... My goal is just to get a very simple kernel which does nothing except get stuck in a continues loop, loaded from my bootloader. Heres what i have made out from what i have been reading:
boot.asm assembled into boot.bin and placed in the first secor of a floppy disk
loads kernel.bin to a specific memory address.
jumps to the memory where the kernel has been loaded to.
loadKerenl.o assembled from loadKernel.asm
calls an externel function which is declared in kernel.c
kernel.o compiled from kernel.c
has the main function declared, which is called from loadKernel.
kernel.bin linked from loadKernel.o and kernel.o
Am i on the right line or am i completely off track?
Thank you for your time reading this post.
boot.asm assembled into boot.bin and placed in the first secor of a floppy disk
loads kernel.bin to a specific memory address.
jumps to the memory where the kernel has been loaded to.
loadKerenl.o assembled from loadKernel.asm
calls an externel function which is declared in kernel.c
kernel.o compiled from kernel.c
has the main function declared, which is called from loadKernel.
kernel.bin linked from loadKernel.o and kernel.o
Am i on the right line or am i completely off track?
Thank you for your time reading this post.