SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-91
INT 15h, Function AX = 5380h, Subfunction BH = 2Ch: Set Pen Calibration
NORAPM
Writes the pen calibration structure to EEPROM. The structure is defined
below.
This interrupt is a NORAND Proprietary System interface.
On Entry:
AH = 53h
AL = 80h
BH = 2Ch
DI:DX = Segment:offset of pen calibration structure
On Return:
If successful:
Carry = 0
DI:DX = Location of structure
AH = 0
AL = Undefined
If NOT successful:
Carry = 1
AH = Error Code
AL = Undefined
typedef struct {
unsigned int signature;
/* “RR” if valid (signature) */
int WidthOfs;
/* Digitizer Width coordinate of display edge */
int HeightOfs;
/* Digitizer Height coordinate of display edge */
unsigned int Width;
/* Digitizer long axis length in device units */
unsigned int Height;
/* Digitizer short axis length in device units */
} NOR_PEN_CALIBRATION;
INT 15h, Function AX = 5380h, Subfunction BH = 2Dh: Get Pen Calibration
NORAPM
Reads the pen calibration structure from EEPROM. The structure is defined
below.
This interrupt is a NORAND Proprietary System interface.
On Entry:
AH = 53h
AL = 80h
BH = 2Dh
DI:DX = Segment:offset of pen calibration structure
On Return:
If successful:
Carry = 0
AH = 0
AL = Undefined
If NOT successful:
Carry = 1
AH = Error Code
AL = Undefined
typedef struct {
unsigned int signature;
/* “RR” if valid (signature) */
int WidthOfs;
/* Digitizer Width coordinate of display edge */
int HeightOfs;
/* Digitizer Height coordinate of display edge */
unsigned int Width;
/* Digitizer long axis length in device units */
unsigned int Height;
/* Digitizer short axis length in device units */
} NOR_PEN_CALIBRATION;
6. Conversions and
Interfaces