EttinOS/src/boot.asm

24 lines
205 B
NASM

[ORG 0x7c00]
mov ax, 0
mov ds, ax
jmp 0:start
start:
mov ax, 0x1000
mov es, ax
mov bx, 0
mov al, 32
mov dh, 0
mov ch, 0
mov cl, 2
mov ah, 2
int 0x13
jmp 0x1000:0
times 510-($-$$) db 0
db 0x55
db 0xaa