INT 15H 5303H: Interface Connect (Prot. Mode/32-bit)
Expects: AX 5303H
BX 0000H (power device ID = System BIOS)
Returns: AH APM error code (if CF=CY) else...
AX protected mode 32-bit CS of entry address
EBX protected mode 32-bit IP of entry address
CX protected mode 16-bit code segment
DX protected mode data segment
Info: This function informs the BIOS that you intend to cooperate with
the BIOS in power management while the CPU is in 32-bit protected
mode. (see INT 15H 5301H for related info).
AX:EBX On return, this is a real-mode segment:offset address that can be
used as the entry point for accessing APM services while the CPU
is in 32-bit protected mode (see notes).
CX On return, this is a real-mode segment that APM will use as a
code segment later on.
DX On return, this is a real-mode segment that APM will use as a
data segment later on.
Notes: On return, you must prepare selectors in either the LDT or GDT so
that CS and DS will be valid while APM is operating. See
DPMI API for info on preparing selectors.
After making this connection (and preparing the selectors), you
can access power management fns while in 32-bit protected mode by
preparing AX (et al.) and issuing a FAR CALL to the address
returned in AX:BX.
See Also: APM API