http://git.dujemihanovic.i2p?p=nameless-os.git;a=blob;f=boot.s;hb=4326df7844154f8c575a33b3898709944e08f74b
search: re summary | shortlog | log | commit | commitdiff | tree history | raw | HEAD Add basic bootsector [nameless-os.git] / boot.s 1 bits 16 ; boot sectors run in real mode 2 org 7c00h ; boot sector is always loaded at 0x7c00 3 4 mov al, 1 ; update cursor after write 5 mov bh, 0 ; write to page 0 6 mov bl, 00000111b ; attribute: high nibble is foreground (light gray), 7 ; low nibble is background (black) 8 ; NOTE: in the binary, these will be inverted, so low nibble here will become...