Page 1 of 1

kernel help

Posted: Mon Jul 29, 2002 11:37 am
by beyondsociety
I am trying to write a simple kernel to work with my bootsector that I am making. What I need to know is, what does the kernel have to have in it to work right.

ex: kernel

[bits 16]
[org 0]


times 510($-$$) db 0 ; do I need this in order for the
dw 0xAA55 ; kernel to work

If so, does the this have to be set to any particular size of bytes.

Re:kernel help

Posted: Mon Jul 29, 2002 4:13 pm
by Thunder
times 510($-$$) db 0 ; do I need this in order for the
dw 0xAA55 ; kernel to work

If so, does the this have to be set to any particular size of bytes.

Thats just for bootloader ;)