Category : Files from Magazines
Archive   : APR91.ZIP
Filename : 2N04036B

 
Output of file : 2N04036B contained in archive : APR91.ZIP

/*
* boot(): function to warm or cold boot the system from software
*
* C Calling sequence:
* boot (int flag);
* where flag is 0 perform a warm boot, or anything
* to perform a cold boot.
*/

void boot(int flag)
{
/* flag address */
int far *WarmFlag = (int far *) 0x0040072;

/* reboot address */
void (far *reboot)(void) = (void far *) 0xFFFF0000;

*WarmFlag = 0x1234 | flag;
(*reboot)();
}


  3 Responses to “Category : Files from Magazines
Archive   : APR91.ZIP
Filename : 2N04036B

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/