Re: MDA video detection request.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Sun Jul 09 2000 - 14:50:09 EST


> > > Hercules Graphics Adapter
> >
> > This is not good enough, since there are non-hercules mda cards.
> > Also, vga cards might emulate that port io aliasing as well.
>
> The reliable way to detect an HGA card is to run through the VGA/EGA detect
> and onlyif VGA/EGA fails then check that the light pen port is changing value
> as you would expect. The light pen port check is used heavily - clone Herc
> cards emulate its behaviour even if they dont have one

The system has both vga card and mda card, so the vga test will not
fail. The light pen ports are not available on mda cards, but only on
hercules and compatibles.

-- 
Matan Ziv-Av.                         matan@svgalib.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:10 EST