Selecting the Screen Border Color

When the CGA is in use, a border can be drawn around the screen. The color of the screen border is specified by:

void vid_cgabdr(phys_att)

UCHAR phys_att;    /* Physical attribute for screen border    */

All sixteen color values may be specified for the border. A call to this function will have no effect when the MDA or EGA is in use.

Caution: Only a physical attribute can be specified as an argument in this function.


Home Contents Previous Next