SECTION 6
Conversions and Interfaces
6-42 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
INT 10h, Function AX = 1018h: Set PEL Mask
BIOS
On Entry:
AH = 10h
AL = 18h
BL = PEL Mask to write
On Return:
None
INT 10h, Function AX = 1019h: Get PEL Mask
BIOS
On Entry:
AH = 10h
AL = 19h
On Return:
BX = PEL Mask Value
INT 10h, Function AX = 101Ah: Get Color Page State
BIOS
On Entry:
AH = 10h
AL = 1Ah
On Return:
BH = Color page
BL = Paging mode:
0 = 4 pages Ċ 64 registers
1 = 16 pages Ċ 16 registers
INT 10h, Function AX = 101Bh: Set Gray Scale Values
BIOS
For each color register, the weighted sum of its red, green and blue values is
calculated according to the formula:
gray_sum = 30% red + 59% green + 11% blue
The gray_sum is then written back into all three components of the color
register. The original values are lost.
On Entry:
AH = 10h
AL = 1Bh
BX = First color register
CX = Number of color registers
On Return:
None
6. Conversions and
Interfaces