home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
PCBOOT.ZIP
/
WARMBOOT.C
< prev
next >
Wrap
Text File
|
1992-03-05
|
512b
|
21 lines
/*****************************************************************************
warmboot.c
Developed November 1991 by Larry Reeve
A TurboC program to warm boot an IBM-PC.
******************************************************************************/
#include <dos.h>
void main (void)
{
unsigned int far * Indicator;
void (far * PtrReboot) (void);
Indicator = MK_FP(0x0000,0x0472);
PtrReboot = MK_FP(0xFFFF,0x0000);
*Indicator = 0x1234;
(*PtrReboot) ();
}