summaryrefslogtreecommitdiffstats
path: root/src/mess/drivers/binbug.c
diff options
context:
space:
mode:
authorGravatarGravatar smf- <smf-@users.noreply.github.com>2014-02-15 01:29:27 +0000
committerGravatarGravatar smf- <smf-@users.noreply.github.com>2014-02-15 01:29:27 +0000
commitb37d92de7246ff7da31a235b996e89db6f8c8d22 (patch)
tree616a8439278f4ff3331b677c9b841ed71657290a /src/mess/drivers/binbug.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/binbug.c')
-rw-r--r--src/mess/drivers/binbug.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/mess/drivers/binbug.c b/src/mess/drivers/binbug.c
index 432abdc8587..2f986faa79e 100644
--- a/src/mess/drivers/binbug.c
+++ b/src/mess/drivers/binbug.c
@@ -50,24 +50,26 @@
****************************************************************************/
-#include "emu.h"
+#include "bus/rs232/keyboard.h"
#include "cpu/s2650/s2650.h"
-#include "machine/keyboard.h"
#include "imagedev/cassette.h"
#include "sound/wave.h"
#include "imagedev/snapquik.h"
+#define KEYBOARD_TAG "keyboard"
class binbug_state : public driver_device
{
public:
binbug_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_keyboard(*this, KEYBOARD_TAG),
- m_cass(*this, "cassette"),
- m_p_videoram(*this, "videoram"),
- m_p_attribram(*this, "attribram") ,
- m_maincpu(*this, "maincpu") { }
+ m_keyboard(*this, KEYBOARD_TAG),
+ m_cass(*this, "cassette"),
+ m_p_videoram(*this, "videoram"),
+ m_p_attribram(*this, "attribram"),
+ m_maincpu(*this, "maincpu")
+ {
+ }
DECLARE_WRITE8_MEMBER(binbug_ctrl_w);
DECLARE_READ8_MEMBER(binbug_serial_r);