From 86f2db05a030ca48eaba76e637859bb1a6ff36bb Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Wed, 1 May 2019 02:06:27 -0700 Subject: [PATCH] removed jank functions and got a cursor to blink properly --- framebuffer.c | 12 ++++-------- framebuffer.h | 1 - loader.asm | 23 ++++++++++++++++------- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/framebuffer.c b/framebuffer.c index af1f67c..ac7cc29 100644 --- a/framebuffer.c +++ b/framebuffer.c @@ -19,21 +19,17 @@ void write_cell_fb(unsigned cell, char c, char fg, char bg) { Frame_Buffer[cell+1] = (fg & 0x0f << 4) | (bg & 0x0f); } -/* should be passing in a cell-position for position param*/ -void print_fb(char* str, unsigned position) { - unsigned relative_end = position + strlen(str); - for(unsigned i = position; i