tags:

views:

388

answers:

2

I have MS-DOS 6.22 running on a Pentium based computer (motherboard supports ACPI), and would like to know if there was an assembly language routine I could use to shut down the computer, or is it a little harder than that (i.e. motherboard specific)?

Basically, I want to create a small program to shut down the computer from the command line.

+1  A: 

Here is an example of a tool written specifically for this: http://www.plop.at/en/dostoolsdl.html

The source code can be found here: http://download.plop.at/files/SHUTDOWN.ASM

Colin Pickard
A: 

The same kind of ACPI program be found here:

I found it by looking at FreeDOS.

Amigable Clark Kant