From: James S. <jsi...@tr...> - 2001-06-19 23:21:31
|
> I have 800x600 fbdev, with the default fonts. i guess that makes it > more than 80x30, not sure thogh. 100 cols x 37 rows > It more seems to be like the only partwith garbage is the original vga handled > stuff, and not the other way around. > > (note there where problems with vga fontmap getting corrupted when launching > X, so there may be some problem with the vga text mode handling of the board, > maybe due to the gamma chip being used as bridge to the agp bus. we solved it > by hand saving the fontmap memory, and not using the vga functions of X). Hum. Try this patch and let me know if it works. diff -urN vgacon.c.orig vgacon.c --- vgacon.c.orig Tue Jun 19 16:16:32 2001 +++ vgacon.c Tue Jun 19 16:19:22 2001 @@ -359,6 +359,8 @@ c->vc_visible_origin = vga_vram_base; vga_set_mem_top(c); con_free_unimap(c->vc_num); + if (!vga_is_gfx) + scr_memsetw((void *)vga_vram_base, + c->vc_video_erase_char, c->vc_screenbuf_size); } c->vc_uni_pagedir_loc = &c->vc_uni_pagedir; con_set_default_unimap(c->vc_num); |