diff options
author | Nigel Barnes <Pernod70@users.noreply.github.com> | 2019-05-11 17:11:38 +0100 |
---|---|---|
committer | Nigel Barnes <Pernod70@users.noreply.github.com> | 2019-05-11 18:42:27 +0100 |
commit | d4ab3c5549e54c58c6a0ba40453016572add8591 (patch) | |
tree | 99170f1b1e1475a2f777bed96484ef0099c25759 /src/devices/bus/coco/cococart.h | |
parent | 7255f87b9e053528bd02202caeb9dfcc153e0838 (diff) |
coco12.cpp: Added handlers for CTS region $C000-$FEFF, allows cartridges to implement devices in this region.
Diffstat (limited to 'src/devices/bus/coco/cococart.h')
-rw-r--r-- | src/devices/bus/coco/cococart.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/bus/coco/cococart.h b/src/devices/bus/coco/cococart.h index c559a2eea53..bcee3d2990a 100644 --- a/src/devices/bus/coco/cococart.h +++ b/src/devices/bus/coco/cococart.h @@ -88,6 +88,10 @@ public: // slot interface overrides virtual std::string get_default_card_software(get_default_card_software_hook &hook) const override; + // reading and writing to $C000-$FFEF + DECLARE_READ8_MEMBER(cts_read); + DECLARE_WRITE8_MEMBER(cts_write); + // reading and writing to $FF40-$FF5F DECLARE_READ8_MEMBER(scs_read); DECLARE_WRITE8_MEMBER(scs_write); @@ -161,6 +165,8 @@ public: // construction/destruction virtual ~device_cococart_interface(); + virtual DECLARE_READ8_MEMBER(cts_read); + virtual DECLARE_WRITE8_MEMBER(cts_write); virtual DECLARE_READ8_MEMBER(scs_read); virtual DECLARE_WRITE8_MEMBER(scs_write); virtual void set_sound_enable(bool sound_enable); |