SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-81
INT 15h, Function AX = 530Bh: Get PM Event
NORAPM
Gets PM Event returns the next pending PM event or indicates whether no PM
events are pending. Call this function until there are no more pending PM
events.
On Entry:
AH = 53h
AL = 0Bh
On Return:
If successful:
Carry = 0
BX = PM event code
If NOT successful:
Carry = 1
AH = Error code:
80h No power management events pending
INT 15h, Function AX = 530Ch: Get Power State
NGENMOD, NGENWAN
On Entry:
AH = 53h
AL = 0Ch
BX = 40xh, where x = COM port number
On Return:
CX = Power state:
0000h Ready
0001h Off or Sleep
0002h Off or Suspend
0003h OFF
NORAPM
Returns the device power state only when a specific device ID is used.
On Entry:
AH = 53h
AL = 0Ch
BX = Power device ID (See definitions, page 6Ć78)
On Return:
If successful:
Carry = 0
CX = Power state:
0000h Ready
0001h Standby
0002h Suspend
0003h OFF
If NOT successful:
Carry = 1
AH = Error code: (09h Unrecognized device ID)
6. Conversions and
Interfaces