Setting the video mode during boot (was: Re: VGA card (mis)behavior)

2000-01-27 Thread Kazutaka YOKOTA
>> The word at 0x463 in the BIOS data area tells at which I/O address the >> CRTC is sitting on. It's 0x3b4 for the monochrome adapter and EGA/VGA >> in a monochrome mode, and 0x3d4 for CGA and EGA/VGA in a color mode. >> >> So, we should try to set the mode 3 when we find 0x3d4 and the mode 7 >

Re: VGA card (mis)behavior

2000-01-27 Thread John Baldwin
On 27-Jan-00 Kazutaka YOKOTA wrote: >>There is a way to detect monochrome or color via one of the 0x3dX registers. >>It's the register that tells you if the rest of the vido registers are at 0x3b >>X >>(mono) or 0x3cX (color). I can't remember which bit in which register that is >>though. If s

Re: VGA card (mis)behavior

2000-01-27 Thread Kazutaka YOKOTA
>There is a way to detect monochrome or color via one of the 0x3dX registers. >It's the register that tells you if the rest of the vido registers are at 0x3b >X >(mono) or 0x3cX (color). I can't remember which bit in which register that is >though. If someone can find that out, then we can fix

Re: VGA card (mis)behavior

2000-01-27 Thread W Gerald Hicks
Hi Folks, (included Daniel since he had other concerns we discussed elsewhere) I haven't submitted a PR yet, pending the outcome of the discussion; since the right group of people seems to be talking about it, I'll just get out of the way :-) Cheers, Jerry Hicks [EMAIL PROTECTED] To Unsubs

RE: VGA card (mis)behavior

2000-01-27 Thread John Baldwin
On 27-Jan-00 Brian Fundakowski Feldman wrote: > This really does need to be fixed for 4.0-RELEASE. There exists the problem > where certain BIOSes will whack a VGA card out of shape, preventing > FreeBSD from recognizing the card. The proper solution is to whack it > into shape ASAP, and ASAP h