Cold

/*                  Cold Boot                  */


#define star *
#define here 0xFFFF0000ul

void cold (void)
{
    void (far star yonder) (void) = (void (far star) (void)) here;
    (star yonder) ();
}


/*
The usual MSDOS C compilers will accept this code and
compile a module defining the function cold(); calling
this function will do a cold boot of the computer.
*/

2 comments:

  1. Must be a work computer ...

    ReplyDelete
    Replies
    1. I didn't understand your comment and should like to.

      Delete