Hello,
I'm posting here, without opening a new thread because it's a "serial port" related one.
I hope it isn't a mistake...
System:
notebook P4 1.8
serial port on m.board (not usb or pcmcia).
o.s. winxp prof. sp2
dosbox 0.70 (cvs from aep compiled by myself).
in dosbox.conf I've tried two settings for serial (the problem persists with both):
serial1=directserial realport:com1 startbps:9600 parity:n bytesize:8 stopbits:1 irq:4
serial1=directserial realport:com1
the other serials are:
serial2=disabled
serial3=disabled
serial4=disabled
The program that I've run is a very old tool that scans a 485 bus to find the hex address of the devices that are on this one.
The screen is a "text mode" with some graphic sub-pages in vga for trend view.
The problem:
during the scan the screen shows some device with right "name" and other without "name" (it found "something" but doesn't know "what it is"), in both cases the address are wrong.
The status window shows a lot of lines (see attachment) and the strange thing is these lines "running" again after the exit from the program.
Notes:
In the past I've tried to run the program in win31/95/98 command prompt but it doesn't work (the scan missed a lot of devices: timing problems, I supose).The only way to a "perfect running" is start it in dos.
Who wrote the program have used for the two digit date the formula: "actual_date - 1900", so I must change the system date to 1999 before starting the dosbox and the program, also it freezes because the "xx/xx/10X" that goes out of the screen.
Will this action create problems to dosbox internal routines?
The rs232/rs485 converter that I've used was built by me and it works fine (test with many different devices and producers for years without problems).
The power for the circuit isn't taken from the port (9V battery or ext.supply).
It uses only 3 lines from rs232 (TX,RX,GND), the commutation from tx/rx is made with a timer (555) that resets the 485 transceiver every 1s (about, for 9600,8,n,1).
Maybe this last one that generates the continuos lines in status windows during and after the program run/exit?
Thanks in advance for the help and suggestions.
As always, sorry for my english.
_mf2hd_