diff options
author | 2014-02-15 01:29:27 +0000 | |
---|---|---|
committer | 2014-02-15 01:29:27 +0000 | |
commit | b37d92de7246ff7da31a235b996e89db6f8c8d22 (patch) | |
tree | 616a8439278f4ff3331b677c9b841ed71657290a /src/mess/drivers/sapi1.c | |
parent | 88bc8a4673a710bdcdd2640f39b3b33bc2b76ab0 (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/sapi1.c')
-rw-r--r-- | src/mess/drivers/sapi1.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/mess/drivers/sapi1.c b/src/mess/drivers/sapi1.c index b1621dc7f2a..69654e7ea59 100644 --- a/src/mess/drivers/sapi1.c +++ b/src/mess/drivers/sapi1.c @@ -38,21 +38,24 @@ Unable to proceed due to no info available (& in English). #include "machine/keyboard.h" #include "machine/terminal.h" +#define TERMINAL_TAG "terminal" +#define KEYBOARD_TAG "keyboard" class sapi1_state : public driver_device { public: sapi1_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag) - , m_p_videoram(*this, "videoram") - , m_bank1(*this, "bank1") - , m_line0(*this, "LINE0") - , m_line1(*this, "LINE1") - , m_line2(*this, "LINE2") - , m_line3(*this, "LINE3") - , m_line4(*this, "LINE4") - , m_maincpu(*this, "maincpu") - { } + : driver_device(mconfig, type, tag), + m_p_videoram(*this, "videoram"), + m_bank1(*this, "bank1"), + m_line0(*this, "LINE0"), + m_line1(*this, "LINE1"), + m_line2(*this, "LINE2"), + m_line3(*this, "LINE3"), + m_line4(*this, "LINE4"), + m_maincpu(*this, "maincpu") + { + } optional_shared_ptr<UINT8> m_p_videoram; DECLARE_READ8_MEMBER(sapi1_keyboard_r); |