Detecting EGA Video INT 10h, function 12h (in AL), subfunction 10h (in BL) will return BL = 10h if not an EGA since invalid functions requests return without register modification or INT 10h function 1Ah can be used to detect the presence of EGA. BL = 4 EGA with color display = 5 EGA with monochrome video display - see INT 10/1A |
|