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)
|