China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 04:26
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Identifying the Power Management Type View 1,715 Replies 6
Original Poster Posted 2004-02-18 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 124
Posts 7
Joined 2003-08-09 00:00
22-year member
UID 8309
Gender Male
Status Offline
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
Floor 2 Posted 2004-02-24 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 124
Posts 7
Joined 2003-08-09 00:00
22-year member
UID 8309
Gender Male
Status Offline
Could some expert lend a hand
Floor 3 Posted 2008-10-22 18:57 ·  中国 江苏 苏州 电信
初级用户
Credits 20
Posts 9
Joined 2008-09-25 13:36
17-year member
UID 126586
Gender Male
Status Offline
Following this
Floor 4 Posted 2008-10-25 12:39 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 5 Posted 2008-12-29 17:01 ·  中国 江苏 苏州 电信
初级用户
Credits 20
Posts 9
Joined 2008-09-25 13:36
17-year member
UID 126586
Gender Male
Status Offline
Expert, I can't find the source code for the two programs you gave. Could you post it?
Floor 6 Posted 2009-01-04 10:08 ·  中国 福建 泉州 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
19-year member
UID 94024
Gender Male
Status Offline
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
Floor 7 Posted 2009-01-06 19:15 ·  中国 江苏 苏州 联通
初级用户
Credits 20
Posts 9
Joined 2008-09-25 13:36
17-year member
UID 126586
Gender Male
Status Offline
An advanced user really is NB, I learned a bit more again. Thanks, expert
Forum Jump: