fix vga_init

This commit is contained in:
Bo Liu 2017-05-31 23:03:32 +08:00
parent 442dc1c191
commit ad67204118
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ void draw_string(const char *str, int x, int y, _Pixel p) {
}
void vga_init(){
if(ch == '\n') {
out_byte('\r');
}
_screen.width = SCR_WIDTH;
_screen.height = SCR_HEIGHT;
fb = VMEM_ADDR;