mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2024-11-21 13:56:53 -08:00
20 lines
186 B
NASM
20 lines
186 B
NASM
bits 16
|
|
org 0x7c00
|
|
|
|
boot:
|
|
mov si,hello
|
|
mov ah, 0x0e
|
|
.loop:
|
|
lodsb
|
|
or al,al
|
|
jz halt
|
|
int 0x10
|
|
jmp .loop
|
|
halt:
|
|
cli
|
|
hlt
|
|
hello: db "Hello world!",0
|
|
|
|
times 510 - ($-$$) db 0
|
|
dw 0xaa55
|