Category : Communication (modem) tools and utilities
Archive   : AP121.ZIP
Filename : MPTRCV.SLT

 
Output of file : MPTRCV.SLT contained in archive : AP121.ZIP

str cmdline [127];

main()
{
str portstr [4];
str speedstr [6];
int port, ret, c;
str protocol[5]="mpt";
int tr_kill;

cmdline="A- F+ N+ M- P";
port=get_port();
itos (port, portstr);
strcat (cmdline, portstr);
strcat (cmdline, " S0");
if (_zmod_rcrash) strcat (cmdline, " R+");
else strcat (cmdline, " O+");
if (_alarm_on && _sound_on) strcat (cmdline, " B+");
else strcat (cmdline, " B-");
strcat (cmdline, " X+ r ");
strcat (cmdline, _down_dir);
ret=run (protocol,cmdline,0);

reset_port ();

if (_alarm_on && _sound_on) {
if (ret) {

for (c=1; c<=3; ++c) {
tone (790,17);
tone (657,17);
tone (530,17);
}
}
else {

for (c=1; c<=3; ++c) {
tone (530,17);
tone (657,17);
tone (790,17);
}
}
}
tr_kill=track ("Puma", 0);
if (tr_kill) {
track_hit (tr_kill);
track_free (tr_kill);
}

tr_kill=track ("MPt ", 0);
if (tr_kill) {
track_hit (tr_kill);
track_free (tr_kill);
}

return (0);
}

reset_port ()
{
int x, kick;
str portstr[2];

if (getenv ("flipport", portstr)) {
kick=stoi (portstr);
}
else kick=8-(x==8);

if (kick) {

x=get_port ();
set_port (kick);
set_port (x);
}
return (0);
}



  3 Responses to “Category : Communication (modem) tools and utilities
Archive   : AP121.ZIP
Filename : MPTRCV.SLT

  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/