kernel: fix banner printing
This commit is contained in:
parent
f0a000b7d1
commit
cc3fe6c4ee
@ -39,6 +39,8 @@ intlp: movsw
|
|||||||
stosw
|
stosw
|
||||||
loop intlp
|
loop intlp
|
||||||
|
|
||||||
|
mov dx, banner
|
||||||
|
call puts
|
||||||
|
|
||||||
call drives_init
|
call drives_init
|
||||||
|
|
||||||
@ -176,6 +178,7 @@ conin: mov ah, 1
|
|||||||
; DOS 1+ 9h - WRITE STRING TO STANDARD OUTPUT
|
; DOS 1+ 9h - WRITE STRING TO STANDARD OUTPUT
|
||||||
; IN ds:dx '$'-terminated string
|
; IN ds:dx '$'-terminated string
|
||||||
puts: push si
|
puts: push si
|
||||||
|
mov si, dx
|
||||||
.loop: lodsb
|
.loop: lodsb
|
||||||
cmp al, '$'
|
cmp al, '$'
|
||||||
je .end
|
je .end
|
||||||
|
Loading…
Reference in New Issue
Block a user