Mail Archives: djgpp/1997/01/11/00:54:07
Ove Kaaven writes:
>>doesn't, which is very irritating (if only IBM had seen fit to include a
>>retrace interrupt in the VGA design!).
>
>This may not have been in the *original* IBM VGA card, but according
>to my old book in programming for PC video subsystems, the EGA, the
>VGA, and the MCGA supports generating a Vertical Interrupt on IRQ2
>whenever vertical retrace starts, and explains how this is done. On
>the EGA/VGA, these interrupts appears to be controlled by the CRTC
>Vertical Retrace End register (CRTC register 11h) bits 4 and 5, though
>I haven't really studied this in detail.
Some VGA clones do have this ability, but the majority don't. And most
SVGA chipsets don't support it (again there are exceptions, eg. the ATI
Mach 64, but every card does it differently and there is no standard way
to access it). It doesn't strike me as a very good idea to use a feature
that is only available on maybe 10% of the hardware around...
/*
* Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
* Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
*/
- Raw text -