diff --git a/messages.asm b/messages.asm index 0449d8c..15bd0f0 100644 --- a/messages.asm +++ b/messages.asm @@ -45,7 +45,10 @@ int 0x10 mov ah, 0x00 ; Read character int 0x16 - call UART_send_char + ; call UART_send_char + mov ah, 0x1 + mov dx, 0x0 + int 0x14 cmp al, 0x08 ; backspace je change_color_mode @@ -67,12 +70,12 @@ int 0x10 ;; CLOBBERS ;; - ax ;; - dx -UART_send_char: - mov ah, 0x01 ; transmit character - mov dx, 0x0 ; COM1 - int 0x14 - - ret +;UART_send_char: +; mov ah, 0x01 ; transmit character +; mov dx, 0x0 ; COM1 +; int 0x14 +; +; ret ;; Update the color_mode variable with a byte from the keyboard ;;