Make output code work also on the original IBM PC

This commit is contained in:
Juhani Krekelä 2021-06-30 23:22:09 +03:00
parent 7e41612687
commit 3f4c6c0559
1 changed files with 2 additions and 1 deletions

View File

@ -68,12 +68,13 @@ _start:
mov [drivenumber], dl
select_os:
mov ah, 0xe
mov si, prompt
.print:
lodsb
test al, al
jz .end
; On the original IBM PC BIOS the int 0x10 will clobber this
mov ah, 0xe
int 0x10
jmp .print
.end: