INT 10H 1001H: Set Overscan/Border Color Register
Compatibility: EGA VGA
Expects: AX 1001H
BH 6-bit RGB color to display for that attribute
──────────────────────────────────────────────────────────────────
Returns: (none)
──────────────────────────────────────────────────────────────────
Info: This sets the EGA/VGA screen border to a specific rgbRGB color.
BH is a 6-bit rgbRGB color setting, as follows:
╓7┬6┬5┬4┬3┬2┬1┬0╖
║ │r│g│b│R│G│B║ Note: R,G,B are 2/3-intensity
╙─┴─┴╥┴╥┴╥┴╥┴╥┴╥╜ bit r,g,b are 1/3-intensity
║ ║ ║ ║ ║ ╚═► 0: 01H Blue
║ ║ ║ ║ ╚═══► 1: 02H Green
║ ║ ║ ╚═════► 2: 04H Red
║ ║ ╚═══════► 3: 08H blue'
║ ╚═════════► 4: 10H green' (also CGA-emulation intensity)
╚═══════════► 5: 20H red'
Notes: ■ To make the border color match a particular video attribute,
you may use need to use INT 10H 1007H (read one palette
register) to obtain the rgbRGB setting for that attribute.
■ The CGA-compatible fn, INT 10H 0bH also sets the border color.
■ The EGA/VGA overscan area is so anemic, that it is probably
best to leave this as 00H (black).
See Also: INT 10H 10H: EGA/VGA Palette Functions
INT 10H: Video Services
EGA/VGA Data Areas
-♦-