TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: RAJESH DHAWAN
from: TOM TORFS
date: 1997-07-30 16:59:00
subject: Reset

Rajesh Dhawan wrote in a message to Rafa Velilla:
 RV>  Does anybody know how to produce a reset by software? The only way 
 RD> You can do that by generating interrupt 0x19 (the boot loader intr)
If you enjoy system crashes, yes. Otherwise, jump to 0xFFFF:FFFF or tell the 
keyboard controller to reset the system ;-)
You may also want to flush all disk caches etc. first to avoid losing data.
A good way is this:
#include 
#include 
int main(void)
{
   printf("Please press -- now...\n");
   for (;;) ;
   return EXIT_FAILURE;
}
greetz,
Tom
tomtorfs@mail.dma.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)

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™.