INT 10h Palette Services: EGA Attribute Mapping, VGA DAC State, and Restoration
Change EGA and VGA colors through BIOS palette services while keeping attribute mapping, DAC values, blink state, and restore behavior distinct.
tag
6 posts
Change EGA and VGA colors through BIOS palette services while keeping attribute mapping, DAC values, blink state, and restore behavior distinct.
Load EGA/VGA text glyphs through INT 10h font services while respecting character maps, segment pointers, mode changes, and display restoration.
Configure the FreeDOS GRAPHICS resident utility to print legacy CGA, EGA, VGA, or MCGA screens, with realistic limits for printers and VESA modes.
Map Mode 13h pixels correctly by deriving the 320-byte stride, chain-4 plane selection, 64 KiB aperture limits, and page and palette boundaries.
Program VGA planar pixels safely by understanding the four data latches, graphics-controller read modes, write modes, bit masks, and plane ownership.
Understand color and monochrome text apertures, character/attribute cells, CRTC start addresses, and when direct screen writes conflict with BIOS state.