Remove whacky print_inline
This commit is contained in:
parent
1c4a0cf185
commit
8bb23d8a25
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user