Hello Everyone,<br><br> I have had very good success with LB but I am having trouble with the VGA fonts during boot but, the screen becomes readable when the kernel loads "setfont" in the init-scripts. (that uses ioctls etc.) Also, xdm loads fine. (Also, the display is cleaner sooner if I use FB in the kernel, but I loose output again during init-scripts, and then OK for login prompt.)<br><br>I have an on-board ATI M9, and have included the vgabios part in th LB image.<br><br>I have tried many sequences of writing to the VGA regs in vga_console.c->vga_hardware_fixup() including loading fonts & colormaps but, nothing I do there seems to affect the display output.<br>I know I am in that function ok... just, nothing to seems to work.<br><br> // sequencer<br> outw(0x0612,0x3C4 ); /* unlock ext
regs */<br> mdelay(5);<br> outw(0x0700,0x3C4); /* reset ext sequence mode */<br> mdelay(5);<br> outw(0x0120,0x3C4); /* disable video */<br> mdelay(5);<br> <br> setTextRegs(VgaTextRegs); /* initial register setup */<br> mdelay(5);<br> setTextCLUT(); /* load color lookup table */<br> mdelay(5);<br>
loadFont(); /* load font */<br> mdelay(5);<br> setTextRegs(VgaTextRegs); /* reload registers */<br> mdelay(5);<br> <br> outw(0x0100,0x3C4); /* re-enable video */<br> mdelay(5);<br> outb(0x63,0x3c2); /* MISC */<br> mdelay(50);<br><br>It is like the vga part of the bios has intentionally left out the fonts, and any writes to
0xa0000000 or the vga regs have no effect.<br><br>The vga bios is copied correctly:<br>rom address for PCI: 03:01.0 = fff80000<br>copying VGA ROM Image from 0xfff80000 to 0xc0000, 0xf000 bytes<br>entering emulator<br>halt_sys: file /work/bios/linuxbios/src/devices/emulator/x86emu/ops.c, line 4485<br>OK<br><br><br>thanks<br>steve<br><br>I know I am asking a lot...:-)<br><br><br><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com