Slimelite BBS

Rebooting the PC

Back to R25C

From Matthew Probert · 1996-04-02 13:16 · #75190 in R25C

                           REBOOTING THE PC

                           Matthew  Probert
                           Servile Software



To reboot a PC simply make a long jump to address F000:FFF0

This simple program makes a call (from which it will never return!) to address 
F000:FFF0

#include <dos.h>

void far (*boot)();

main()
{
    boot = MK_FP(0xF000,0xFFF0);

    boot();
}


... [Servile Info Journal]
___ Blue Wave/QWK v2.12

--- WILDMAIL!/WC v4.12 
 * Origin: Ooh! LONDON [LiveChat-MultiLines] 0181-395-3108  (2:254/233.0)