changed the scroll repeat window to a power of two (25 -> 32 lines)
[3sys] / sys1 / kern / src / main.c
index 00d3882..2e7a280 100644 (file)
@@ -31,8 +31,8 @@ void kmain(void)
                vga_setcolor(VGA_YELLOW | VGA_BRIGHT, VGA_BLACK);
                drawtext(line & 7, row, buf);
 
-               for(i=0; i<65536 * 4; i++) {
-                       buf[0] = twirl[(i >> 18) & 3];
+               for(i=0; i<65536 * 16; i++) {
+                       buf[0] = twirl[(i >> 15) & 3];
                        buf[1] = 0;
                        vga_setcolor(VGA_WHITE, VGA_BLACK);
                        drawtext(50, row, buf);