Microsoft KB Archive/38715

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


VGA Register Programming

Article ID: 38715

Article Last Modified on 9/23/2003



APPLIES TO

  • Microsoft Mouse Driver 9.1 Standard Edition
  • Microsoft Mouse Driver 7.04 Standard Edition
  • Microsoft Mouse Driver 8.2 Standard Edition
  • Microsoft Mouse Driver 9.0 Standard Edition



This article was previously published under Q38715

SUMMARY

The EGA register interface also needs to be used for VGA programming. When programming the VGA in EGA modes, using the interface is identical to using it with the EGA. However, the VGA makes use of an extra Attribute Controller register, 14h, Color Select. Where the EGA has 20 Attribute Controller registers (0 through 13h), the VGA has 21 (0 through 14h).

Using function F7 of the EGA interface needs special attention. When setting the Attribute Controller chip, all registers for the chip need to be set any time the chip is accessed. If a register is not defined, the register interface uses whatever random value is in that location.


Additional query words: 6.11 6.14 6.24 7.00 7.04 7.05 8.00 8.10 8.20 9.00

Keywords: KB38715