## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### Function F6H - Revert to Default Registers

This function restores the default settings of any registers that the application program has changed through the EGA Register Interface. The default settings are defined in a call to Function F7 (described in the next section).

Input

AH = F6h

Output

All registers are restored.

Example

The following example restores the default settings of the EGA registers:

            mov  ah, 0f6h    ; f6 = revert to default registers
            int  10h         ; do it now!