Execute something more substantial in the kernel

This commit is contained in:
Juhani Krekelä 2021-07-04 19:15:51 +03:00
parent 4dc7266f6a
commit 417b3767ff
1 changed files with 12 additions and 2 deletions

View File

@ -1,8 +1,18 @@
cpu 8086
org 0x500
mov ax, 0x0e40
int 0x10
mov si, string
loop:
lodsb
test al, al
jz hang
mov ah, 0xe
int 0x10
jmp loop
hang:
hlt
jmp hang
string db "Nor86 kernel succesfully loaded", 13, 10, 0