path: root/src/mess/machine/dec_lk201.c
diff options
author smf- <>2014-01-13 11:20:45 +0000
committer smf- <>2014-01-13 11:20:45 +0000
commit61424105fbd4e5f3604921edeacb588565c8a1e4 (patch)
tree74c927345759961ef88d76f77366d8cac6991a31 /src/mess/machine/dec_lk201.c
parenta1b3437fc42bd2260707f09813a8d788381ae702 (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/mess/machine/dec_lk201.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/dec_lk201.c b/src/mess/machine/dec_lk201.c
index f8a7977847d..336c4774a04 100644
--- a/src/mess/machine/dec_lk201.c
+++ b/src/mess/machine/dec_lk201.c
@@ -469,8 +469,8 @@ void lk201_device::device_start()
void lk201_device::device_reset()
- set_data_frame(8, 1, PARITY_NONE, false);
- set_rate(4800);
+ set_data_frame(1, 8, PARITY_NONE, STOP_BITS_1);
+ set_rate(4800);
sci_status = (SCSR_TC | SCSR_TDRE);