From e004fa5f7c31318019bff6c323a4aa59bcc6c18f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 24 May 2018 09:12:13 -0400 Subject: Use LF instead of CR --- console.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'console.asm') diff --git a/console.asm b/console.asm index 5faf3a8..9212c66 100644 --- a/console.asm +++ b/console.asm @@ -114,7 +114,7 @@ console_driver: .handle_SPC: inc dl cmp dl, MAX_COLS - jge .handle_CR + jge .handle_LF jmp .return .handle_TAB: @@ -140,9 +140,11 @@ console_driver: .handle_CR: mov dl, 0 ; set column zero + jmp .return .handle_LF: inc dh ; increment row + mov dl, 0 ; set column zero jmp .return .return: -- cgit