diff --git a/kernel/arch/i386/tty.nim b/kernel/arch/i386/tty.nim index bb1ab1e..fbbf421 100644 --- a/kernel/arch/i386/tty.nim +++ b/kernel/arch/i386/tty.nim @@ -32,11 +32,10 @@ proc terminalInitialize*() = proc terminalScroll() = for y in 0..< (vgaHeight - 1): + let base1 = y * vgaWidth + let base2 = (y + 1) * vgaWidth for x in 0..