From 4dc7266f6acd8f548b91e7a805f2ff6ce4145886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 4 Jul 2021 19:13:34 +0300 Subject: [PATCH] Make debug hexprint work under PCem too --- hexprint.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hexprint.inc b/hexprint.inc index 1315fcd..e75a3a7 100644 --- a/hexprint.inc +++ b/hexprint.inc @@ -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