中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-31 08:37
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » Identifying the Power Management Type
Printable Version  1,969 / 6
Floor1 allegro Posted 2004-02-18 00:00
初级用户 Posts 7 Credits 124
Experts, how can I determine the motherboard's power management type through programming?
For example, whether it is ACPI or APM or something else?
In a DOS environment
I think it should be possible to identify it from the BIOS
Floor2 allegro Posted 2004-02-24 00:00
初级用户 Posts 7 Credits 124
Could some expert lend a hand
Floor3 henry000 Posted 2008-10-22 18:57
初级用户 Posts 9 Credits 20
Following this
Floor4 xugaohui Posted 2008-10-25 12:39
高级用户 Posts 293 Credits 774 From 湖北仙桃
Floor5 henry000 Posted 2008-12-29 17:01
初级用户 Posts 9 Credits 20
Expert, I can't find the source code for the two programs you gave. Could you post it?
Floor6 netwinxp Posted 2009-01-04 10:08
高级用户 Posts 366 Credits 741
ACPI support can be checked by searching for "RSD PTR " in segment F000. If it's found, then ACPI is supported (assuming ACPI isn't disabled in the BIOS SETUP).
APM is even simpler, you can determine it just by using INT 15H—
mov ax,5300h
xor bx,bx
int 15h
jnb ...;APM not supported
;APM supported
Floor7 henry000 Posted 2009-01-06 19:15
初级用户 Posts 9 Credits 20
An advanced user really is NB, I learned a bit more again. Thanks, expert
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023