diff --git a/bochsrc.conf b/bochsrc.conf index 96345f8..02b96e2 100644 --- a/bochsrc.conf +++ b/bochsrc.conf @@ -1,5 +1,5 @@ megs: 32 -display_library: sdl +display_library: x romimage: file=/usr/share/bochs/BIOS-bochs-latest vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest ata0-master: type=cdrom, path=os.iso, status=inserted diff --git a/framebuffer.c b/framebuffer.c index 301d626..e6fa3a3 100644 --- a/framebuffer.c +++ b/framebuffer.c @@ -6,7 +6,7 @@ // | 15-8 | 7-4 | 0-3 // | Asci | FG | BG #include "framebuffer.h" -#include "io.h" +//#include "io.h" static char* Frame_Buffer = (char*)FRAME_BUFFER_ADDR; //static char* Frame_Buffer_End = (char*)(FRAME_BUFFER_ADDR + AREA); @@ -21,7 +21,7 @@ void write_cell_fb(unsigned cell, char c, char fg, char bg) { } -void clear_fb() { +void clear_fb(void) { for(unsigned cell=0;cell