Archive / / / / bootloader.asm
2002-06-18 01:05:18 UTC
previous next
[ORG 0] jmp 07C0h:start ; Goto segment 07C0 ; Declare the string that will be printed msg db 'kryptOS 0.01 (Shane rulez!)' start: mov ax, cs mov ds, ax mov es, ax mov si, msg print: lodsb cmp al, 0 je hang mov ah, 0Eh mov bx, 7 int 10h jmp print hang: jmp hang times 510-($-$$) db 0 dw 0AA55h