don't print control characters
This commit is contained in:
parent
6ae0f09ceb
commit
5d6a0e231c
1 changed files with 5 additions and 5 deletions
10
messages.asm
10
messages.asm
|
@ -71,17 +71,17 @@ int 0x10
|
||||||
cmp al, 0x00 ; null
|
cmp al, 0x00 ; null
|
||||||
je .virtual_kbd_loop_init
|
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
|
cmp al, 0x08 ; backspace
|
||||||
je change_color_mode
|
je change_color_mode
|
||||||
|
|
||||||
cmp al, 0x1B ; esc
|
cmp al, 0x1B ; esc
|
||||||
je beep
|
je beep
|
||||||
|
|
||||||
|
;; print character to serial port
|
||||||
|
mov ah, 0x01 ; transmit char
|
||||||
|
mov dx, 0x00 ; COM1
|
||||||
|
int 0x14
|
||||||
|
|
||||||
cmp al, 0x0D ; enter
|
cmp al, 0x0D ; enter
|
||||||
je .nl
|
je .nl
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue