The bytes at 0040:0087 and 0040:0088 in the BIOS Data Area are bit flags
containing information pertaining to the status of the EGA  and
VGA .  Most of this can be obtained via INT 10H 12H.

EgaMiscInfoRec
 7 6 5 4 3 2 1 0 
   ram 0 a 0 m c        0040:0087 -- EGA Miscellaneous Information
                  bit
                  0: 1=cursor emulation enabled; see INT 10H 12H BL=34H
                  1: 1=EGA is attached to a Monochrome Display
                  3: 1=EGA is not active
                  5-6: EGA total RAM (00=64K; 01=128K; 10=192K; 11=246K)
                  7: high bit of video mode (1=screen is not cleared)

EgaMiscInfo2Rec
 7 6 5 4 3 2 1 0 
 feature  DIPs          0040:0088 -- son of EGA Miscellaneous Information
                  bit
                  0-3: DIP switch settings.  See EGA Switch Settings
               4-7: Feature bits

See Also: EGA Data Areas
- -

EgaMiscInfoRec