diff options
author | smf- <smf-@users.noreply.github.com> | 2014-04-06 13:48:05 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2014-04-06 13:48:05 +0000 |
commit | 90d8fd79b74860007189e31d6792781b9a0c2c3e (patch) | |
tree | 3debb5e80795aede2383acb0c1e845e2b70d9d63 /src/mess/includes/coco.h | |
parent | fc7289d467b03c2a8c99df0e5d9bfd18ae17e395 (diff) |
MESS: coco uses rs232 port instead of bitbanger [smf]
Diffstat (limited to 'src/mess/includes/coco.h')
-rw-r--r-- | src/mess/includes/coco.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mess/includes/coco.h b/src/mess/includes/coco.h index 65b7eb7e120..2a229ddbadb 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,18 +92,16 @@ 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; static const cococart_interface cartridge_config; - static const bitbanger_config coco_bitbanger_config; static const cassette_interface coco_cassette_interface; // 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 ); @@ -151,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); @@ -214,7 +211,6 @@ private: void poll_hires_joystick(void); void update_cassout(int cassout); void update_prinout(bool prinout); - DECLARE_WRITE_LINE_MEMBER( bitbanger_callback ); void diecom_lightgun_clock(void); // thin wrappers for PIA output |