lkml.org 
[lkml]   [2000]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MDA video detection request.

> > > 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.075 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site