Category : Files from Magazines
Archive   : CUJ9301.ZIP
Filename : 1101042A

 
Output of file : 1101042A contained in archive : CUJ9301.ZIP
static void near error_return(void)
{
longjmp(error::current->jmpbuf, 1);
}

void declare_error(void)
{
_AX = (int) error_return;
asm MOV BP,[BP]; // move frame pointer up one level
asm MOV [BP+2],AX; // patch return address
#if defined(__MEDIUM__) || defined(__LARGE__) || defined(__HUGE__)
asm MOV [BP+4],CS; // if return address is far, patch segment, too
#endif
}

error error_x;
if (setjmp(error_x.jmpbuf))
{

declare_error();
return;
}



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9301.ZIP
Filename : 1101042A

  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/