summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rs232
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/rs232')
-rw-r--r--src/devices/bus/rs232/keyboard.cpp6
-rw-r--r--src/devices/bus/rs232/null_modem.cpp3
-rw-r--r--src/devices/bus/rs232/pty.cpp3
-rw-r--r--src/devices/bus/rs232/rs232.cpp14
-rw-r--r--src/devices/bus/rs232/ser_mouse.cpp7
-rw-r--r--src/devices/bus/rs232/terminal.cpp4
-rw-r--r--src/devices/bus/rs232/xvd701.cpp4
7 files changed, 32 insertions, 9 deletions
diff --git a/src/devices/bus/rs232/keyboard.cpp b/src/devices/bus/rs232/keyboard.cpp
index f30d8476d56..47b82c5d71e 100644
--- a/src/devices/bus/rs232/keyboard.cpp
+++ b/src/devices/bus/rs232/keyboard.cpp
@@ -5,7 +5,8 @@
serial_keyboard_device::serial_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: generic_keyboard_device(mconfig, SERIAL_KEYBOARD, "Serial Keyboard", tag, owner, clock, "serial_keyboard", __FILE__),
device_serial_interface(mconfig, *this),
- device_rs232_port_interface(mconfig, *this),
+ device_rs232_port_interface(mconfig, *this),
+ m_curr_key(0),
m_key_valid(false),
m_rs232_txbaud(*this, "RS232_TXBAUD"),
m_rs232_startbits(*this, "RS232_STARTBITS"),
@@ -18,7 +19,8 @@ serial_keyboard_device::serial_keyboard_device(const machine_config &mconfig, co
serial_keyboard_device::serial_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: generic_keyboard_device(mconfig, type, name, tag, owner, clock, shortname, source),
device_serial_interface(mconfig, *this),
- device_rs232_port_interface(mconfig, *this),
+ device_rs232_port_interface(mconfig, *this),
+ m_curr_key(0),
m_key_valid(false),
m_rs232_txbaud(*this, "RS232_TXBAUD"),
m_rs232_startbits(*this, "RS232_STARTBITS"),
diff --git a/src/devices/bus/rs232/null_modem.cpp b/src/devices/bus/rs232/null_modem.cpp
index 16fc4215c9a..a5140ef5d1e 100644
--- a/src/devices/bus/rs232/null_modem.cpp
+++ b/src/devices/bus/rs232/null_modem.cpp
@@ -14,7 +14,8 @@ null_modem_device::null_modem_device(const machine_config &mconfig, const char *
m_rs232_parity(*this, "RS232_PARITY"),
m_rs232_stopbits(*this, "RS232_STOPBITS"),
m_input_count(0),
- m_input_index(0)
+ m_input_index(0),
+ m_timer_poll(NULL)
{
}
diff --git a/src/devices/bus/rs232/pty.cpp b/src/devices/bus/rs232/pty.cpp
index 0039925ac85..72e8f22dd57 100644
--- a/src/devices/bus/rs232/pty.cpp
+++ b/src/devices/bus/rs232/pty.cpp
@@ -18,7 +18,8 @@ pseudo_terminal_device::pseudo_terminal_device(const machine_config &mconfig, co
m_rs232_parity(*this, "RS232_PARITY"),
m_rs232_stopbits(*this, "RS232_STOPBITS"),
m_input_count(0),
- m_input_index(0)
+ m_input_index(0),
+ m_timer_poll(NULL)
{
}
diff --git a/src/devices/bus/rs232/rs232.cpp b/src/devices/bus/rs232/rs232.cpp
index 411a31a8f01..06462491db7 100644
--- a/src/devices/bus/rs232/rs232.cpp
+++ b/src/devices/bus/rs232/rs232.cpp
@@ -6,7 +6,12 @@ const device_type RS232_PORT = &device_creator<rs232_port_device>;
rs232_port_device::rs232_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, RS232_PORT, "RS232 Port", tag, owner, clock, "rs232", __FILE__),
- device_slot_interface(mconfig, *this),
+ device_slot_interface(mconfig, *this),
+ m_rxd(0),
+ m_dcd(0),
+ m_dsr(0),
+ m_ri(0),
+ m_cts(0),
m_rxd_handler(*this),
m_dcd_handler(*this),
m_dsr_handler(*this),
@@ -18,7 +23,12 @@ rs232_port_device::rs232_port_device(const machine_config &mconfig, const char *
rs232_port_device::rs232_port_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
- device_slot_interface(mconfig, *this),
+ device_slot_interface(mconfig, *this),
+ m_rxd(0),
+ m_dcd(0),
+ m_dsr(0),
+ m_ri(0),
+ m_cts(0),
m_rxd_handler(*this),
m_dcd_handler(*this),
m_dsr_handler(*this),
diff --git a/src/devices/bus/rs232/ser_mouse.cpp b/src/devices/bus/rs232/ser_mouse.cpp
index cb2d4d12b50..53d035fee7e 100644
--- a/src/devices/bus/rs232/ser_mouse.cpp
+++ b/src/devices/bus/rs232/ser_mouse.cpp
@@ -16,7 +16,12 @@ serial_mouse_device::serial_mouse_device(const machine_config &mconfig, device_t
device_rs232_port_interface(mconfig, *this),
device_serial_interface(mconfig, *this),
m_dtr(1),
- m_rts(1),
+ m_rts(1),
+ m_head(0),
+ m_tail(0),
+ m_mb(0),
+ m_timer(nullptr),
+ m_enabled(false),
m_x(*this, "ser_mouse_x"),
m_y(*this, "ser_mouse_y"),
m_btn(*this, "ser_mouse_btn")
diff --git a/src/devices/bus/rs232/terminal.cpp b/src/devices/bus/rs232/terminal.cpp
index a8b8db63e36..fcfd9074c67 100644
--- a/src/devices/bus/rs232/terminal.cpp
+++ b/src/devices/bus/rs232/terminal.cpp
@@ -11,7 +11,9 @@ serial_terminal_device::serial_terminal_device(const machine_config &mconfig, co
m_rs232_startbits(*this, "RS232_STARTBITS"),
m_rs232_databits(*this, "RS232_DATABITS"),
m_rs232_parity(*this, "RS232_PARITY"),
- m_rs232_stopbits(*this, "RS232_STOPBITS")
+ m_rs232_stopbits(*this, "RS232_STOPBITS"),
+ m_curr_key(0),
+ m_key_valid(false)
{
}
diff --git a/src/devices/bus/rs232/xvd701.cpp b/src/devices/bus/rs232/xvd701.cpp
index 47c960e55af..dd443d24ef1 100644
--- a/src/devices/bus/rs232/xvd701.cpp
+++ b/src/devices/bus/rs232/xvd701.cpp
@@ -5,7 +5,9 @@
jvc_xvd701_device::jvc_xvd701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, JVC_XVD701, "JVC XV-D701", tag, owner, clock, "xvd701", __FILE__),
device_serial_interface(mconfig, *this),
- device_rs232_port_interface(mconfig, *this)
+ device_rs232_port_interface(mconfig, *this),
+ m_response_index(0),
+ m_timer_response(nullptr)
{
}