Make debug hexprint work under PCem too

This commit is contained in:
Juhani Krekelä 2021-07-04 19:13:34 +03:00
parent de098cb9f3
commit 4dc7266f6a
1 changed files with 2 additions and 1 deletions

View File

@ -10,18 +10,19 @@ hexprint8:
mov cl, al
xor bx, bx
mov ah, 0xe
shr al, 1
shr al, 1
shr al, 1
shr al, 1
mov bl, al
mov al, [.digits + bx]
mov ah, 0xe
int 0x10
mov bl, 0xf
and bl, cl
mov al, [.digits + bx]
mov ah, 0xe
int 0x10
pop cx