Hello,
I've already done a part of my OS in Assembly, but now I want to build a own bootloader for it too instead of using GRUB. When I was developing my test OS in Assembly I remember that I boot it like this:
This I've already know. Now I want to use this and execute the "real" OS that will be a *.bin file written to the 2nd sector of the floppy. Then I want to know somethings
Best Regards,
Nathan Paulino Campos
I've already done a part of my OS in Assembly, but now I want to build a own bootloader for it too instead of using GRUB. When I was developing my test OS in Assembly I remember that I boot it like this:
org 0x7c00
bits 16
; OS Kernel Here
times 510 - ($-$$) db 0
dw 0xAA55
This I've already know. Now I want to use this and execute the "real" OS that will be a *.bin file written to the 2nd sector of the floppy. Then I want to know somethings
[*]How can I do a bootloader in Assembly to execute what will be starting on the 2nd sector of the floppy?
[*]I need to add anything to the Assembly source that will be placed on the 2nd sector of the floppy?
Best Regards,
Nathan Paulino Campos
The following site will help you enormously:
http://www.osdever.net/tutorials.php?cat=2&sort=1
http://www.osdever.net/tutorials.php?cat=2&sort=1
Hello Synfire,
It haven't helped too much, as I've already read all that tutorials and I still don't know how to do what I want :(
Best Regards,
Nathan Paulino Campos
It haven't helped too much, as I've already read all that tutorials and I still don't know how to do what I want :(
Best Regards,
Nathan Paulino Campos