SECTION 6
Conversions and Interfaces
6-40 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
INT 10h, Function AX = 1009h: Get Palette and Border
BIOS
On Entry:
AH = 10h
AL = 09h
ES:BX = Pointer to 17Ćbyte buffer
On Return:
ES:BX = Pointer to buffer containing palette values in bytes 0ć15 and
border color in byte 16
INT 10h, Function AX = 1010h: Set Color Register
BIOS
For grayĆscale summing, weighted grayĆscale value calculated and stored in all
three components of color register.
On Entry:
AH = 10h
AL = 10h
BX = Color register
CH = Green value
CL = Blue value
DH = Red value
On Return:
None
INT 10h, Function AX = 1012h: Set Block of Color Registers
BIOS
Table consists of 3Ćbyte entries, one per color to be programmed. Individual
entry bytes are red, green, and blue values for the associated color register. For
grayĆscale summing, the weighted grayĆscale value is calculated and stored into
all three components of the color register.
On Entry:
AH = 10h
AL = 12h
BX = First color value
CX = Number of color registers
ES:DX = Pointer to color table
On Return:
None
6. Conversions and
Interfaces