C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28695
Number of posts: 94715

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
ATX power shutdown under MS-DOS Posted by Mike Saharov on 30 Jan 2001 at 5:10 PM
Somebody, please help me!
-------------------------

I want to know HOW to shut down the ATX PC using some BIOS call, like does WIN.COM with the parameter "/Z". I'm not very familiar with the debuggers, so please tell me the right BIOS address, any doc related, or ASM/C/PAS source.

Please feel free to e-mail me to: saharovm@mtu-net.ru.

Mike Saharov, programmer-enthusiast from Russia.


Edit Report
Re: ATX power shutdown under MS-DOS Posted by oc1394 on 30 Jan 2001 at 6:07 PM
The NT Kernel is a diffrent, containing diffrent library and MFC archetecture so not sure if this will work in other versions besides NT 5.0(win2k) Kernel DOS


cd \d c:
cd Windows\
exec rundll32.dll-exe -a kernel32.dll $shutdown_DLG


DOS has to support batch ASCII to do this
another way is typing


edit temp.bat

and copying all the above in the editor then saving then typing

echo
temp.bat

Report
Re: ATX power shutdown under MS-DOS Posted by jeffpost on 22 Feb 2002 at 5:45 PM
: Somebody, please help me!
: -------------------------
:
: I want to know HOW to shut down the ATX PC using some BIOS call, like does WIN.COM with the parameter "/Z". I'm not very familiar with the debuggers, so please tell me the right BIOS address, any doc related, or ASM/C/PAS source.
:
: Please feel free to e-mail me to: saharovm@mtu-net.ru.
:
: Mike Saharov, programmer-enthusiast from Russia.
:
Take a look at vh224401.truman.edu/~dbindner/freeware/index.html#power




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.