SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-75
INT 15h, Function AH = 4Fh: Keyboard Intercept
BIOS, 4000API
Called by INT 09h ISR each time a key is pressed. Creates alternative keyboard
layouts. Intercept routine may substitute or discard scan codes. Default BIOS
routine returns input scan code unmodified and carry set. Applications call INT
15h, Function C0h to determine whether this feature is supported by the BIOS.
On Entry:
AH = 4Fh
AL = Scan code
On Return:
Carry = 0 if successful:
AL = Scan code (Processed, do not buffer scan code)
1 if unsuccessful (Not processed, buffer scan code)
This is a PCĆlike system service, but not quite PC compatible. See Keyboard
Scan Codes, under
Keyboard Interface
paragraph, INT 09h, page 6Ć31.
INT 15h, Function AX = 5300h: APM Installation Check
NORAPM
Allows the APM driver (caller) to determine whether the system's BIOS supports
the APM functionality and, if so, which version of the specification it supports.
The APM version number returned from this call is the highest level of APM
supported by the APM BIOS.
On Entry:
AH = 53h
AL = 00h
BX = 0000h
On Return:
If successful:
Carry = 0 (APM is supported by BIOS)
AH = 1 (APM major version number (BCD format))
AL = 1 (APM minor version number (BCD format))
BH = ASCII P" character
BL = ASCII M" character
CX = APM flags
Bit 0 = 1 (16Ćbit protected mode interface supported)
Bit 1 = 1 (32Ćbit protected mode interface supported)
Bit 2 = 1 (
CPU Idle
call slows processor clock speed)
0 (
CPU Idle
call stops clock)
Bit 3 = 1 (APM BIOS Power Management disabled)
Bit 4 = 1 (APM BIOS Power Management disengaged)
Other bits reserved
If NOT successful:
Carry = 1 (APM is NOT supported by BIOS)
AH = Error code
09h Unrecognized device ID
86h APM not present
6. Conversions and
Interfaces