Hi,

We have a DOS program that works fine by using a soft interrupt (0x53) which reads 
from and writes
to a serial device and we are trying to migrate this program to dosemu in order to 
have TCP/IP
connectivity.

First, we have rewritten the soft interrupt routines in dosemu in order to open a 
tcp/ip socket and
it is apparently working fine (we've been tracing it through syslog messages and the 
packets come
and go). The messages are transferred to the program but they are never printed on the 
screen. We
know that the program that calls the interrupt is not locked because it is running the 
loop
correctly ( read the message, print it on screen and go read it again, and print it 
again,...).

Why no messages are printed on the screen (they contain CR+LF :) )?

I'm using BC 3.1 and the original code uses getch and kbhit. Is there any known 
limitation for these
functions on dosemu?

Am I allowed to use sockets on a soft interrupt in dosemu as long as I'm running only 
one instance
of such program on my machine or do I need to use dosnet to achieve what I want?

TIA,

Diogenes

Reply via email to