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 to use for screen border        */

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

This function operates the same under PCDOS.

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


Home Contents Previous Next