You can determine the current adapter by calling the video display adapter function, vid_adapter():
|
This function returns the current video display adapter. The return values can be interpreted as follows:
| MDA | Monochrome Display Adapter |
| CGA | Color Graphics Adapter |
| EGA | Enhanced Graphics Adapter |
| PGS | Professional Graphics System |
| VGA | Video Graphics Array |
| MCGA | Monochrome Color Graphics Array |