Remove whacky print_inline

This commit is contained in:
Nero 2019-03-31 12:44:07 +00:00
parent 1c4a0cf185
commit 8bb23d8a25

View File

@ -33,25 +33,3 @@ print16:
xchg ah,al xchg ah,al
call print8 call print8
ret ret
; print a inline following its call opcode
; the string ends with a nullbyte
; trashes si
print_inline:
pop si
push ax
push bx
mov bx, 0x0000
.loop:
lodsb
cmp al, 0x00
je .end
mov ah, 0x0e
int 0x10
cmp al, 0x0D
jmp .loop
.end:
pop bx
pop ax
push si
ret