summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/cm1800.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2014-02-15 01:29:27 +0000
committer smf- <smf-@users.noreply.github.com>2014-02-15 01:29:27 +0000
commitb37d92de7246ff7da31a235b996e89db6f8c8d22 (patch)
tree616a8439278f4ff3331b677c9b841ed71657290a /src/mess/drivers/cm1800.c
parent88bc8a4673a710bdcdd2640f39b3b33bc2b76ab0 (diff)
created src\emu\bus\rs232 & src\emu\bus\midi directories and separated rs232 and midi devices, changed h89 to use an rs232 port to communicate with the serial terminal to instead of connecting it directly. [smf]
Diffstat (limited to 'src/mess/drivers/cm1800.c')
-rw-r--r--src/mess/drivers/cm1800.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mess/drivers/cm1800.c b/src/mess/drivers/cm1800.c
index 93ad7b03e60..e27c7572ab8 100644
--- a/src/mess/drivers/cm1800.c
+++ b/src/mess/drivers/cm1800.c
@@ -37,13 +37,17 @@ to be a save command.
#include "cpu/i8085/i8085.h"
#include "machine/terminal.h"
+#define TERMINAL_TAG "terminal"
+
class cm1800_state : public driver_device
{
public:
cm1800_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_terminal(*this, TERMINAL_TAG) ,
- m_maincpu(*this, "maincpu") { }
+ m_terminal(*this, TERMINAL_TAG) ,
+ m_maincpu(*this, "maincpu")
+ {
+ }
DECLARE_READ8_MEMBER( term_status_r );
DECLARE_READ8_MEMBER( term_r );