http://git.dujemihanovic.i2p?p=nameless-os.git;a=blob;f=boot/x86/mbr.s;h=b5d01c94f6ea86ccffd0752714db580280b6abce;hb=da4e7bf5dd2b9448b638255a20ee503b0641e495
search: re summary | shortlog | log | commit | commitdiff | tree history | raw | HEAD Load ELF kernel instead of flat binary [nameless-os.git] / boot / x86 / mbr.s 1 ; x86 bootloader for nameless-os, MBR portion 2 3 bits 16 4 cpu 686 5 org 0x600 6 7 _start: 8 cli ; we really don't want to be interrupted during relocation 9 ; set up segment registers 10 xor ax, ax 11 mov ds, ax 12 mov es, ax 13 mov ss, ax 14 mov sp, 0xfe00 ; just under the soon-to-be-loaded VBR, should be more than sufficient space 15 16 ;...