I'm working on a program translation from old TurboBasic to PB/DOS 3.50 (some 20 thousand lines - the reason I do the translation is just I can't more compile the program under TurboBasic!).
The program intensively uses a serial communication channel (1 line, 4800 baud, records of 10-64 chars each). With the PB/DOS version of the program I get some communication errors the TurboBasic version of the program didn't show.
Note the following: the PC and the connetced items are always the same - no way to say the problem is outside the program itself. I changed the program as slitght as possible to accomplish to the PB/DOS syntax - the TurboBasic program has worked for years without problems. The PC is a Pentium 300MHz.
The question is, is there some tricks to know when programming communications under PB/DOS? Is it possible the system can lose characters at a speed as slow as 4800 baud? May be the problem is Windows?
Thanks.
------------------
The program intensively uses a serial communication channel (1 line, 4800 baud, records of 10-64 chars each). With the PB/DOS version of the program I get some communication errors the TurboBasic version of the program didn't show.
Note the following: the PC and the connetced items are always the same - no way to say the problem is outside the program itself. I changed the program as slitght as possible to accomplish to the PB/DOS syntax - the TurboBasic program has worked for years without problems. The PC is a Pentium 300MHz.
The question is, is there some tricks to know when programming communications under PB/DOS? Is it possible the system can lose characters at a speed as slow as 4800 baud? May be the problem is Windows?
Thanks.
------------------
Comment