delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/05/00:00:23

Message-ID: <B5E044AF4430D311B24D0060089CD8B101F018B5@hydmail01.hyd.wilco-int.com>
From: Prashant Ramachandra <rprash AT wilco-int DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: Rebooting the DOS Machine
Date: Tue, 5 Dec 2000 10:11:31 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

On Tuesday, December 05, 2000 6:24 AM, jvasquez AT getntds DOT com
[SMTP:jvasquez AT getntds DOT com] wrote:
| Using djgpp. How do I reboot the machine. I'm running in DOS.
| There must be a software interrupt that I can call that will reboot
| the maching, but I can't find it.

This has been mentioned in the FAQ. Just add these to your C program.

asm ("movb $0xfe, %al; outb %al, $64;");

Btw, I'd suggest that you still read the relevant section of the FAQ.

Prashant TR
--------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. 
If you received this in error, please contact the sender and delete the materialfrom any computer.
--------------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019