Support passing a socket handle on the command-line
which is used to set up a virtual modem already in the
connected state. I use this to run DOS doors on my
Synchronet BBS systems. I'm sure there are many other
uses too...
Syntax is as follows:
dosbox -socket <descriptor> [ -telnet ]
Passing -telnet makes it start in telnet mode (assumed
to be in binary echo mode with GA supressed)
Patch to softmodem.cpp (from dosbox root) to allow socket inheritence.
Logged In: YES
user_id=168633
I looked into merging this with the current CVS code, but
have no clue what to to about initializing the registers.
Something is CSerial is preventing the doors from detecting
the carrier. I fumbled my way through to:
CSerial::setCD(true);
CSerial::setRI(false);
CSerial::setCTS(true);
CSerial::setDSR(true);
CSerial::Write_MCR(MCR_RTS_MASK|MCR_DTR_MASK);
CSerial::Write_MSR(0xff);
Before I gave up in favour of sleep.
Logged In: YES
user_id=168633
Ah, lack of sleep makes you not remove the exit from the
[autoexec] section of your .conf file. This is a patch
against current CVS (working)
Logged In: YES
user_id=168633
Hrm, I know I uploaded the patch against CVS earlier.
Lack of sleep had fried my brain... it now works great.
Logged In: YES
user_id=168633
Match updated by h-a-l-9000 for Win32 compatability.
Patch to softmodem.cpp (from dosbox root) to allow socket inheritence. - For current CVS. (Updated for Win32 compatability by h-a-l-9000)
Logged In: YES
user_id=535630
Originator: NO
Present in 0.70