RV> Does anybody know how to produce a reset by software? The only way I
now
RV>is:
RV>cout<<"Please press the reset button";
RV>... but it is not satisfactory (sometimes works but sometimes the user
don't
RV>want to press the button).
Rafa:
Try jump to:
F000:FFF0 to hardware reset.
F000:E05B to warm boot.
and code:
cout << "Press any key to reset...";
getch ();
asm
{
jmp F000:FFF0;
}
This code is for MS-DOS only.
Un saludo.
Miguel
========================================================
Miguel Scapolla miguelo@blader.com (email)
Coronado City miguelo@canopus.com.ar (email)
Argentina 4:901/148.30 (fido)
========================================================
--- MjrFIDO 3.25
--- Squish/386 v1.11
---------------
* Origin: ISP CANOPUS (BBS) * Bs.As.- ARGENTINA * +54 1 554-2222 (4:90/90)
|