summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/isbc.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2014-01-08 20:46:12 +0000
committer smf- <smf-@users.noreply.github.com>2014-01-08 20:46:12 +0000
commit1ec3795d20a478ebc767c7d4e0461717bddc1437 (patch)
tree7a6c642714d02ca018ba3cc007aed7be4f07096a /src/mess/drivers/isbc.c
parent24f13a9d4c5afa18c31451f7c2424c414c4465a9 (diff)
Changed serial terminal to use separate data bits/parity and stop bit settings to allow more diversity.
Diffstat (limited to 'src/mess/drivers/isbc.c')
-rw-r--r--src/mess/drivers/isbc.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mess/drivers/isbc.c b/src/mess/drivers/isbc.c
index ba7bc80ef3b..c8e0a0e6a13 100644
--- a/src/mess/drivers/isbc.c
+++ b/src/mess/drivers/isbc.c
@@ -124,13 +124,17 @@ static INPUT_PORTS_START( isbc )
INPUT_PORTS_END
static DEVICE_INPUT_DEFAULTS_START( isbc86_terminal )
- DEVICE_INPUT_DEFAULTS( "TERM_FRAME", 0x0f, 0x01 ) // 300
- DEVICE_INPUT_DEFAULTS( "TERM_FRAME", 0x30, 0x20 ) // 8N2
+ DEVICE_INPUT_DEFAULTS( "TERM_BAUD", 0xff, 0x01 ) // 300
+ DEVICE_INPUT_DEFAULTS( "TERM_DATABITS", 0xff, 0x03 ) // 8
+ DEVICE_INPUT_DEFAULTS( "TERM_PARITY", 0xff, 0x00 ) // N
+ DEVICE_INPUT_DEFAULTS( "TERM_STOPBITS", 0xff, 0x02 ) // 2
DEVICE_INPUT_DEFAULTS_END
static DEVICE_INPUT_DEFAULTS_START( isbc286_terminal )
- DEVICE_INPUT_DEFAULTS( "TERM_FRAME", 0x0f, 0x06 ) // 9600
- DEVICE_INPUT_DEFAULTS( "TERM_FRAME", 0x30, 0x10 ) // 7E1
+ DEVICE_INPUT_DEFAULTS( "TERM_BAUD", 0xff, 0x06 ) // 9600
+ DEVICE_INPUT_DEFAULTS( "TERM_DATABITS", 0xff, 0x02 ) // 7
+ DEVICE_INPUT_DEFAULTS( "TERM_PARITY", 0xff, 0x02 ) // E
+ DEVICE_INPUT_DEFAULTS( "TERM_STOPBITS", 0xff, 0x00 ) // 1
DEVICE_INPUT_DEFAULTS_END
static const serial_terminal_interface terminal_intf =