>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 this properly.

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
for 0x3b4.

Kazu


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to