INT 10H 12H BL=31H: Palette Loading on Mode Set
Compatibility: VGA
Expects: AH 12H
BL 31H
AL setting: 00H=enable default palette loading on mode reset
01H=disable (use current palette on mode changes)
──────────────────────────────────────────────────────────────────
Returns: AH 12H if a valid value was passed in AL
──────────────────────────────────────────────────────────────────
Info: This changes how the BIOS handles the color palette on subsequent
calls to INT 10H 00H (set video mode). It updates bit 3 of the
VgaFlagsRec (at 0040:0089).
When automatic palette loading is enabled (the default setting),
the BIOS reprograms the ATC with the default palette values each
time the video mode is reset. You can modify the VgaSavePtr2Rec
to setup your own palette to be used the default.
When disabled, the current palette setting are left in place on
mode changes.
See Also: INT 10H 12H (EGA/VGA Special Functions/Alternate Select)
INT 10H: Video Services
EGA/VGA Data Areas
-♦-