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

 
Output of file : 1101069A contained in archive : CUJ9301.ZIP
static boolean
fgsend_control (ixxx, iyyy)
int ixxx;
int iyyy;
{
char ab[CFRAMELEN];
int ictl;
unsigned short icheck;

ab[IFRAME_DLE] = DLE;
ab[IFRAME_K] = KCONTROL;

ictl = (CONTROL << 6) | (ixxx << 3) | iyyy;
icheck = (unsigned short) (0xaaaa - ictl);
ab[IFRAME_CHECKLOW] = (char) (icheck & 0xff);
ab[IFRAME_CHECKHIGH] = (char) (icheck >> 8);

ab[IFRAME_CONTROL] = (char) ictl;

ab[IFRAME_XOR] = (char) (ab[IFRAME_K] ^ ab[IFRAME_CHECKLOW]
^ ab[IFRAME_CHECKHIGH] ^ ab[IFRAME_CONTROL]);

return fsend_data (ab, CFRAMELEN, TRUE);
}



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

  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/