You can check Ralf Brown's Interrupt List at www.ctyme.com. It has a very complete interrupt function table. For int15h's Advanced Power Management (AX=5300h-5313h), among them:
AX=5300h - INSTALLATION CHECK,BX = device ID of system BIOS (0000h);
AX=5301h - CONNECT REAL-MODE INTERFACE,BX = device ID of system BIOS (0000h);
AX=5307h/CX=0002h - SUSPEND SYSTEM,BX = 0001h (device ID for all power-managed devices);
AX=5307h/CX=0003h - TURN OFF SYSTEMBX = 0001h (device ID for all power-managed devices).
Look up the exact input/output parameters on his site yourself.
AX=5300h - INSTALLATION CHECK,BX = device ID of system BIOS (0000h);
AX=5301h - CONNECT REAL-MODE INTERFACE,BX = device ID of system BIOS (0000h);
AX=5307h/CX=0002h - SUSPEND SYSTEM,BX = 0001h (device ID for all power-managed devices);
AX=5307h/CX=0003h - TURN OFF SYSTEMBX = 0001h (device ID for all power-managed devices).
Look up the exact input/output parameters on his site yourself.
我不能偷也不能搶





