VGA font problem (FC2 install)
When trying to install Fedora Core 2, the instalation switches the text font and text becomes unreadable, so it's difficult to continue.
Browsing at http://osdev.neopages.net/FreeVGA/vga/vgatext.htm#fonts
they describe the following:
" If bit 3 of a character's attribute byte is set to 1, then
the character set selected by Character Set A Select field, otherwise the character set specified by Character Set B Select field is used. "
But current code in QEMU is the oposite. So, I changed it with the patch below, and FC2 installed!
Index: hw/vga.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/vga.c,v
retrieving revision 1.26
vga.c 19 May 2004 22:21:49 -0000 renamed from vga.c 29 Apr 2004 19:21:16 -0000 1.26 +1 -1
@@ -1228,7 +1228,7 @@ ch = ch_attr & 0xff; cattr = ch_attr >> 8; #endif - font_ptr = font_base[(cattr >> 3) & 1]; + font_ptr = font_base[1 - ((cattr >> 3) & 1)]; font_ptr += 32 * 4 * ch; bgcol = palette[cattr >> 4]; fgcol = palette[cattr & 0x0f];
Daniel.
Just to say "me too!", I had this problem as well, and I just tried latest CVS and it doesn't happen anymore.
Quoted 16 lines · Daniel Serpell
When trying to install Fedora Core 2, the instalation switches the text font and text becomes unreadable, so it's difficult to continue.
Browsing at http://osdev.neopages.net/FreeVGA/vga/vgatext.htm#fonts
they describe the following:" If bit 3 of a character's attribute byte is set to 1, then
the character set selected by Character Set A Select field, otherwise the character set specified by Character Set B Select field is used. "But current code in QEMU is the oposite. So, I changed it with the patch below, and FC2 installed!
[snip]