diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2018-05-24 09:12:13 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2018-05-24 09:12:13 -0400 |
commit | e004fa5f7c31318019bff6c323a4aa59bcc6c18f (patch) | |
tree | 92b0cc94dbfe80017f6ff366a157abd48ccc9413 /console.asm | |
parent | 9e35452e46901fc0aa6271d9eacf6b512fe6da64 (diff) | |
download | minos-e004fa5f7c31318019bff6c323a4aa59bcc6c18f.tar.gz |
Use LF instead of CR
Diffstat (limited to 'console.asm')
-rw-r--r-- | console.asm | 4 |
1 files changed, 3 insertions, 1 deletions
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: |