BigBill53
Electrical
- Dec 9, 2010
- 35
Hey,
I have an old software package that runs on MS-DOS. Needless to say it is tricky getting DOS to work on modern machines. So I had the bright idea of making a virtual machine of DOS and running it on a modern computer.
This software talks to a number of machines via RS232 (actually it is RS485, but through a RS232/485 converter). I have been having a lot of trouble getting the VM to communicate properly like the old machine does.
I have finally identified the issue, but I am confused by it. The data being sent from both the DOS and VM are both the same, except for the parity bits. When I took a sample of the data with an oscilloscope here is what I found:
Old machine (DOS):
New machine (VM):
(ST = start bit, SP = stop bit, Dx = data bit, P = parity bit)
To me it looks like there are 8 data bits, 1 stop bit and 1 parity bit (of some type). However, I can't ascertain whether it is odd, even, mark or space on either the VM or DOS.
Any ideas?
I have an old software package that runs on MS-DOS. Needless to say it is tricky getting DOS to work on modern machines. So I had the bright idea of making a virtual machine of DOS and running it on a modern computer.
This software talks to a number of machines via RS232 (actually it is RS485, but through a RS232/485 converter). I have been having a lot of trouble getting the VM to communicate properly like the old machine does.
I have finally identified the issue, but I am confused by it. The data being sent from both the DOS and VM are both the same, except for the parity bits. When I took a sample of the data with an oscilloscope here is what I found:
Old machine (DOS):

New machine (VM):

(ST = start bit, SP = stop bit, Dx = data bit, P = parity bit)
To me it looks like there are 8 data bits, 1 stop bit and 1 parity bit (of some type). However, I can't ascertain whether it is odd, even, mark or space on either the VM or DOS.
Any ideas?