From 5d6a0e231ce37a8bd6dc70a91ac0cd7204a84fa9 Mon Sep 17 00:00:00 2001 From: Tibo Ulens Date: Mon, 8 Nov 2021 23:38:18 +0100 Subject: [PATCH] don't print control characters --- messages.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/messages.asm b/messages.asm index 3dbb85d..49f785e 100644 --- a/messages.asm +++ b/messages.asm @@ -71,17 +71,17 @@ int 0x10 cmp al, 0x00 ; null je .virtual_kbd_loop_init - ;; print character to serial port - mov ah, 0x01 ; transmit char - mov dx, 0x00 ; COM1 - int 0x14 - cmp al, 0x08 ; backspace je change_color_mode cmp al, 0x1B ; esc je beep + ;; print character to serial port + mov ah, 0x01 ; transmit char + mov dx, 0x00 ; COM1 + int 0x14 + cmp al, 0x0D ; enter je .nl