SECTION 6
Conversions and Interfaces
6-78 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
INT 15h, Function AX = 5307h: Set Power State
NGENMOD, NGENWAN
Sets system or device specified in power device ID into the requested power
state.
On Entry:
AH = 53h
AL = 07h
BX = 40xh, (where x = COM port number)
CX = Power state:
0000h = Ready
0001h = Off or Sleep
0002h = Off or Suspend
0003h = Off
NORAPM
On Entry:
AH = 53h
AL = 07h
BX = Power device ID (See next page)
CX = Power state:
0000h = Ready
0001h = Standby
0002h = Suspend
0003h = Off
0004h = ** Last request processing notification
0005h = ** Last request rejected
** Power states 0004h and 0005 supported
only
for Power Device ID 0001h.
On Return:
If successful:
Carry = 0
If NOT successful:
Carry = 1
AH = Error code:
01h = Power management disabled
09h = Unrecognized device ID
0Ah = Parameter value out of range
0Bh = Interface not engaged
60h = Unable to enter requested state
These Power Device IDs apply to references where BX = Power Device ID, where
unit number (xx or xxx) is 0Ćbased:
00xxh System IDs
00 = APM BIOS IDs
01 = All devices powerĆmanaged by APM BIOS
FF = All devices in this class
01xxh Display
FF = All devices in this class
02xxh = Secondary storage
00 = PC Card controller
FF = All devices in this class
03xxh = Parallel ports
FF = All devices in this class
6. Conversions and
Interfaces