Execute something more substantial in the kernel
This commit is contained in:
parent
4dc7266f6a
commit
417b3767ff
14
kernel.asm
14
kernel.asm
|
@ -1,8 +1,18 @@
|
||||||
|
cpu 8086
|
||||||
org 0x500
|
org 0x500
|
||||||
|
|
||||||
mov ax, 0x0e40
|
mov si, string
|
||||||
int 0x10
|
loop:
|
||||||
|
lodsb
|
||||||
|
test al, al
|
||||||
|
jz hang
|
||||||
|
|
||||||
|
mov ah, 0xe
|
||||||
|
int 0x10
|
||||||
|
jmp loop
|
||||||
|
|
||||||
hang:
|
hang:
|
||||||
hlt
|
hlt
|
||||||
jmp hang
|
jmp hang
|
||||||
|
|
||||||
|
string db "Nor86 kernel succesfully loaded", 13, 10, 0
|
||||||
|
|
Loading…
Reference in New Issue