diff --git a/core/irq_handler.d b/core/irq_handler.d deleted file mode 100644 index 396327a..0000000 --- a/core/irq_handler.d +++ /dev/null @@ -1,2 +0,0 @@ -core/irq_handler.o: core/irq_handler.c core/interrupt.h core/types.h \ - core/io.h core/irq.h drivers/pic.h drivers/vga.h diff --git a/core/irq_handler.o b/core/irq_handler.o deleted file mode 100644 index de621bd..0000000 Binary files a/core/irq_handler.o and /dev/null differ diff --git a/drivers/vga.c b/drivers/vga.c index b0c1091..82eea9f 100644 --- a/drivers/vga.c +++ b/drivers/vga.c @@ -81,7 +81,7 @@ void vgaScrollUp(void) VGA_WIDTH * sizeof(short)); } for (int i = 0; i < VGA_WIDTH; i++) { - vga[(VGA_HEIGHT - 1) * VGA_WIDTH + i] = colorAttr; + vga[(VGA_HEIGHT - 2) * VGA_WIDTH + i] = colorAttr; } } @@ -97,7 +97,7 @@ void printChar(const char str) if (str == '\n') { line++; col = 0; - if (line >= VGA_HEIGHT) { + if (line >= VGA_HEIGHT - 1) { vgaScrollUp(); line--; } @@ -122,7 +122,7 @@ void printChar(const char str) col = 0; line++; } - if (line >= VGA_HEIGHT) { + if (line >= VGA_HEIGHT - 1) { vgaScrollUp(); line--; } diff --git a/drivers/vga.o b/drivers/vga.o deleted file mode 100644 index 35142b5..0000000 Binary files a/drivers/vga.o and /dev/null differ