SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-37
INT 10h, Function AH = 0Bh: Set Color Palette
BIOS
BL effective for text modes (when BH = 0). BL value sets border color, thus in
320x200 graphic modes, background color (when BH = 0) set to BL value color.
BL value (when BH = 0) ranges 0ć31, values 16ć31 intense versions of color.
When BH = 1, color palette selected for 320x200 graphic modes, thus BL = 0
selects one of two available palettes. If BL = 0, palette is green (1), red (2),
yellow (3). If BL = 1, palette is cyan (1), magenta (2), white (3).
On Entry:
AH = 0Bh
BH = 0" = Sets background, border colors for graphics or text modes.
1" = Selects 320x200 color graphics palette.
BL = Color value to use with color ID (value in BH).
On Return:
None
INT 10h, Function AH = 0Ch: Write Graphics Dot
BIOS
Writes specified pixel to video memory at DX and CX location. AL value is color
value for graphic modes. If AL bit 7 set, color value is XORed with current
screen location contents. Pixel value range depends on current video mode.
On Entry:
AH = 0Ch
AL = Dot value
BH = Page number
CX = Dot column number:
0ć320 = Modes 4ć5
0ć640 = Mode 6
DX = Dot row number (0ć200)
On Return:
None
INT 10h, Function AH = 0Dh: Read Graphics Dot
BIOS
Reads picture element value at CX and DX location. AL value depends on
current video mode.
On Entry:
AH = 0Dh
BH = Page number
CX = Dot column number:
0ć320 = Modes 4ć5
0ć640 = Mode 6
DX = Dot row number (0ć200)
On Return:
AL = Color value
6. Conversions and
Interfaces