summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/coco.h
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2014-04-16 07:53:39 +0000
committer smf- <smf-@users.noreply.github.com>2014-04-16 07:53:39 +0000
commit72d93bb509f7ba670c27850f58fe10ce09844a93 (patch)
tree37a23297e60928c97d312f4fedc800582b5cb98f /src/mess/includes/coco.h
parent0bd507725175d4694f4e201ebf573e6f28703aae (diff)
Added serial printer, renamed centronics printer to match. Standardised the configuration of rs232 devices. All serial devices are now connected using an rs232 port. [smf]
Diffstat (limited to 'src/mess/includes/coco.h')
-rw-r--r--src/mess/includes/coco.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mess/includes/coco.h b/src/mess/includes/coco.h
index 92e622a9dec..065c628c3e5 100644
--- a/src/mess/includes/coco.h
+++ b/src/mess/includes/coco.h
@@ -14,7 +14,7 @@
#include "emu.h"
#include "imagedev/cassette.h"
-#include "imagedev/bitbngr.h"
+#include "bus/rs232/rs232.h"
#include "machine/6821pia.h"
#include "bus/coco/cococart.h"
#include "machine/coco_vhd.h"
@@ -47,7 +47,7 @@ SLOT_INTERFACE_EXTERN( coco_cart );
#define SCREEN_TAG "screen"
#define DAC_TAG "dac"
#define CARTRIDGE_TAG "ext"
-#define BITBANGER_TAG "bitbanger"
+#define RS232_TAG "rs232"
#define VHD0_TAG "vhd0"
#define VHD1_TAG "vhd1"
@@ -92,7 +92,7 @@ public:
required_device<cococart_slot_device> m_cococart;
required_device<ram_device> m_ram;
required_device<cassette_image_device> m_cassette;
- optional_device<bitbanger_device> m_bitbanger;
+ optional_device<rs232_port_device> m_rs232;
optional_device<coco_vhd_image_device> m_vhd_0;
optional_device<coco_vhd_image_device> m_vhd_1;
@@ -102,7 +102,6 @@ public:
// driver update handlers
DECLARE_INPUT_CHANGED_MEMBER(keyboard_changed);
DECLARE_INPUT_CHANGED_MEMBER(joystick_mode_changed);
- static void bitbanger_callback(running_machine &machine, UINT8 bit);
// IO
virtual DECLARE_READ8_MEMBER( ff00_read );
@@ -135,9 +134,6 @@ public:
// floating bus
DECLARE_READ8_MEMBER( floating_bus_read ) { return floating_bus_read(); }
- // bitbanger
- DECLARE_WRITE_LINE_MEMBER( bitbanger_callback );
-
protected:
// device-level overrides
virtual void device_start();
@@ -153,7 +149,6 @@ protected:
// changed handlers
virtual void pia1_pa_changed(void);
virtual void pia1_pb_changed(void);
- virtual void bitbanger_changed(bool newvalue);
// miscellaneous
virtual void update_keyboard_input(UINT8 value, UINT8 z);