Specifications

AMD Geode™ GeodeROM Functional Specification 171
Video BIOS Support
32087C
13.1.12 Function 0Bh - Set CGA Palette
Description:
Sets the VGA palette as if the 6845 palette existed. It is provided for backward compatibility with the CGA. Applications
aware of the EGA or VGA should use Function 10h to access the palette.
When BH = 0, the background color and overscan is set. When BH = 1, the palette is set to one of these two palettes:
Pixel Value BL = 0 BL = 1
0 Background Background
1 Green Cyan
2 Red Magenta
3 Brown White
Passed:
Returns:
None.
13.1.13 Function 0Ch - Write Dot
Description:
Writes a colored pixel at the specified location in graphics mode. The number of colors available is determined by the
current graphics mode. For example, mode 4h (320x200x2) can only use colors from 0 to 3, while mode 12h
(640x480x4) can use colors from 0 to 15. This function has no effect in text modes.
In non-256 color modes, bit 7 of the color value is used as an XOR flag. If bit 7 is set to a “1”, then the pixel is XORed
into memory. In 256 color modes, all eight bits are used as pixel data.
Passed:
Returns:
None.
Parameter Description
AH 0Bh
DS Seg0
BH Color ID to set:
0 = Set background
1 = Set palette
BL Color value
Parameter Description
AH 0Ch
DS Seg0
AL Pixel color
BH Page
CX Column
DX Row