summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylormuffins@gmail.com>2020-11-05 21:27:18 -0500
committerJackson Taylor <jtaylormuffins@gmail.com>2020-11-05 21:27:18 -0500
commitfdcc06a8827eef394efb8f29fced04d179b701dd (patch)
treed669b361e93e8f2c7b77b3d92bc326d1b7dbdf41
parent2478938d34010e6067cff40606dc4b76a9956e9a (diff)
Fix incorrect address in kernel.c
-rw-r--r--kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.c b/kernel.c
index 3e75c7a..23d13ef 100644
--- a/kernel.c
+++ b/kernel.c
@@ -57,7 +57,7 @@ void terminal_initialize(void) {
terminal_row = 0;
terminal_column = 0;
terminal_color = vga_entry_color(VGA_COLOR_LIGHT_GREY, VGA_COLOR_BLUE);
- terminal_buffer = (uint16_t*) 0xB80000;
+ terminal_buffer = (uint16_t*) 0xB8000;
for (size_t y = 0; y < VGA_HEIGHT; y++) {
for (size_t x = 0; x < VGA_WIDTH; x++) {
const size_t index = y * VGA_WIDTH + x;