3.10Peripheral 3DiagnosticPrograms
47
4. TextColor
Thistestitemistocheckwhetherall16colorsforegroundandall8colors
backgroundworksnormallyinVGAtextmode.
Thebit4-6oftheattributebyteofacharacterdefines8backgroundcolors(black,
blue,green,cyan,red,brown,magenta,andlightgray),andthebit0-3defines16
foregroundcolors(darkgray,lightblue,lightgreen,lightcyan,lightred,light
magenta,yellow,andwhitebesidestheabove8colors).
Inthetest,userisrequiredtorespondaccordingtotheinstructioninthescreen.
5. 80*25TextMode