summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2021-04-10 19:55:49 -0500
committerthe lemons <citrons@mondecitronne.com>2021-04-10 19:55:49 -0500
commitb8789d4971409c429c6adf550e3a12d2d47f785d (patch)
tree30d3f569e531ac8fed4cfad519f11c705f75dcc5
parentbaa4b6cf54364d0333ece9539d9cd8cd66b23a39 (diff)
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.
-rwxr-xr-xkernel.binbin95156 -> 95156 bytes
-rw-r--r--os.isobin19898368 -> 19898368 bytes
-rw-r--r--src/main.c2
3 files changed, 1 insertions, 1 deletions
diff --git a/kernel.bin b/kernel.bin
index cd32d5b..002b5ef 100755
--- a/kernel.bin
+++ b/kernel.bin
Binary files differ
diff --git a/os.iso b/os.iso
index 74e73b0..80d666d 100644
--- a/os.iso
+++ b/os.iso
Binary files 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();