One field of the VgaSavePtr2Rec points to a VgaPaletteProfileRec.
Initially, this structure does not exist, but may be installed by task
switching or other TSR code.
This is especially needed when secondary fonts are used; you will want to
define palettes which are consistent and independent of video attribute
bit 3 (which switches character sets).
Offset Size Contents
ßßßßßß ßßßß ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
+0 2 wRecLen size of this structure, in bytes (normally 1aH)
+0 1 bUnderline underlining: 01=enable in all text modes
00=enable in monochrome text mode
ff=disable in all text modes
+1 3 res (reserved)
+4 2 wAtcRegCnt internal palette count: 0-17 (17 is normal)
+6 2 wAtcRegIdx internal palette index: 0-16 (16 is normal)
+8 4 pfabRegTbl address of internal palette data
+0cH 2 wDacRegCnt external palette count: 0-256 (0 is normal)
+0eH 2 wDacRegIdx external palette index: 0-255 (0 is normal)
+10H 4 pfabDacTbl address of external palette data
+14H n abModes use for these video modes (variable-length table)
+n+14H 1 ffH 0ffH indicates end of abModes table
n+21 size of a VgaPaletteProfileRec
See Also: VGA Data Areas
VGA I/O Ports