diff options
author | 2014-01-13 11:20:45 +0000 | |
---|---|---|
committer | 2014-01-13 11:20:45 +0000 | |
commit | 61424105fbd4e5f3604921edeacb588565c8a1e4 (patch) | |
tree | 74c927345759961ef88d76f77366d8cac6991a31 /src/emu/imagedev/midiout.c | |
parent | a1b3437fc42bd2260707f09813a8d788381ae702 (diff) |
Changed parity & stop bits to an enum (you can now pass in 1.5). I've updated the uarts that were testing for 1.5 stop bits to pass that in, but there are probably others & 1.5 stop bits is converted to 2 by diserial. However the 68681 requires stop bits to be specified in clocks, so this will change in the future. Replaced synchronous flag with start bit count, as some uarts can use a start bit in synchronous mode & that whether there is a start bit is all the flag is currently controlling. Updated rs232 terminal to allow startbits, stop bits 1.5 to be specified (although that is currently not supported by diserial) and individual transmit and receive baud rates. [smf]
Diffstat (limited to 'src/emu/imagedev/midiout.c')
-rw-r--r-- | src/emu/imagedev/midiout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/imagedev/midiout.c b/src/emu/imagedev/midiout.c index b28e7702efa..e83ae8a356a 100644 --- a/src/emu/imagedev/midiout.c +++ b/src/emu/imagedev/midiout.c @@ -38,7 +38,7 @@ void midiout_device::device_start() void midiout_device::device_reset() { // we don't Tx, we Rx at 31250 8-N-1 - set_data_frame(8, 1, PARITY_NONE, false); + set_data_frame(1, 8, PARITY_NONE, STOP_BITS_1); set_rcv_rate(31250); set_tra_rate(0); } |