From b8789d4971409c429c6adf550e3a12d2d47f785d Mon Sep 17 00:00:00 2001 From: the lemons Date: Sat, 10 Apr 2021 19:55:49 -0500 Subject: the first 8 VGA colors are the only ones that will consistently work as background colors. I have changed the color scheme. I ran the thing on real hardware and the text blinked repeatedly. this is because bit 7 is implementation-defined and not part of the background color. I have changed color scheme because a gray background would not look good. this is a minute detail, yet this is my largest commit message so far. --- kernel.bin | Bin 95156 -> 95156 bytes os.iso | Bin 19898368 -> 19898368 bytes src/main.c | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.bin b/kernel.bin index cd32d5b..002b5ef 100755 Binary files a/kernel.bin and b/kernel.bin differ diff --git a/os.iso b/os.iso index 74e73b0..80d666d 100644 Binary files a/os.iso and b/os.iso differ diff --git a/src/main.c b/src/main.c index 9bc98ae..cd8cb50 100644 --- a/src/main.c +++ b/src/main.c @@ -33,7 +33,7 @@ const char *pope = */ void kernel_main(multiboot_info_t *mb) { - vsetcolor(vga_color(vga_black, vga_white)); + vsetcolor(vga_color(vga_green, vga_black)); vclear(); interrupt_init(); -- cgit v1.2.3