kernel: fix banner printing

This commit is contained in:
Nero 2020-08-27 21:01:41 +00:00
parent f0a000b7d1
commit cc3fe6c4ee

View File

@ -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