Makefile update & VGA lib stuff

pull/23/head
E. Almqvist 3 years ago
parent 159ab0e1a2
commit c990061920
  1. 2
      Makefile
  2. 2
      src/kernel/lib/vga.c

@ -3,6 +3,8 @@ all: os-image
run: all
qemu-system-x86_64 os-image
drun: clean run
grub: eOS.iso
qemu-system-x86_64 eOS.iso

@ -48,7 +48,7 @@ void set_cursor_pos(unsigned int x, unsigned int y) {
void print(char* str, int colorcode) {
for( char* c = str; *c != '\0'; c++ )
putc(*c, (unsigned int)(c - str + cursor_col), cursor_row, colorcode);
putc(*c, (unsigned int)(c - str) + cursor_col, cursor_row, colorcode);
}
void println(char* str, int colorcode) {

Loading…
Cancel
Save