TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: RAFA VELILLA
from: DAN MCGREGOR
date: 1997-07-02 22:05:00
subject: Reset

 RV> cout<<"Please press the reset button";
 RV> ... but it is not satisfactory (sometimes works but 
 RV> sometimes the user don't want to press the button).
The way I do it (Because I ALWAYS have a fossil driver loaded) is to call the 
fossil function to do it.. try something like this:
_AH = 0x17;
_AL = 0x01;  // Use 0x02 for a Warm Boot, 0x01 for a cold boot.
geninterrupt (0x14);
If you have a fossil loaded that will reset the computer...
--- Maximus 3.01
---------------
* Origin: The Dragons Cave -- 2am - 5am CST (1:140/237.2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.