SECTION 6
Conversions and Interfaces
6-46 PEN*KEY
R
6100 Computer Programmer’s Reference Guide
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:
00h = 4 pages of 64 registers
01h = 16 pages of 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 calĆ
culated 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 regisĆ
ter. 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
Содержание PEN*KEY 6100
Страница 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Страница 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Страница 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Страница 112: ...SECTION 4 Power Management 4 10 PEN KEYR 6100 Computer Programmer s Reference Guide 4 Power Management ...
Страница 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...