
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
Summary of Contents for PEN*KEY 6100
Page 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Page 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Page 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Page 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...