SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-39
INT 10h, Function AX = 1002h: Set Palette and Border
BIOS
Sets all palette registers and border color in one call. Color list is 17 bytes long
with first 16 bytes as color values loaded into palette registers 0ć15. Last byte is
border color value. Default palette consists of these pixel values, color:
"
1
Blue
"
9
Light Blue
"
2
Green
"
10
Light Green
"
3
Cyan
"
11
Light Cyan
"
4
Red
"
12
Light Red
"
5
Magenta
"
13
Light Magenta
"
6
Brown
"
14
Yellow
"
7
White
"
15
Intense White
"
8
Gray
On Entry:
AH = 10h
AL = 02h
ES:DX = Pointer to color list
On Return:
None
INT 10h, Function AX = 1003h: Toggle Blink Intensity Bit
BIOS
On Entry:
AH = 10h
AL = 03h
BH = Enable:
0 = Intensity
1 = Blink
On Return:
None
INT 10h, Function AX = 1007h: Get Palette Register
BIOS
Returns color associated with specified palette register.
On Entry:
AH = 10h
AL = 07h
BL = Palette register
On Return:
BH = Color
INT 10h, Function AX = 1008h: Get Border Color
BIOS
On Entry:
AH = 10h
AL = 08h
On Return:
BH = Border color
6. Conversions and
Interfaces