40:87   byte   mode options (EGA only) 

bit 1 0 = EGA is connected to a color display

1 = EGA is monochrome.

bit 3 0 = EGA is the active display,

1 = "other" display is active.

mode combinations:

bit3 Bit1 Meaning

0 0 EGA is active display and is color

0 1 EGA is active display and is monochrome

1 0 EGA is not active, a mono card is active

1 1 EGA is not active, a CGA is active

40:87 byte (PCjr only) current Fn key code

40:88 byte feature bit switches (EGA only) 0=on, 1=off

bit 3 = switch 4

bit 2 = switch 3

bit 1 = switch 2

bit 0 = switch 1