diff options
Diffstat (limited to 'src/devices/cpu/tms32031/tms32031.h')
-rw-r--r-- | src/devices/cpu/tms32031/tms32031.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/devices/cpu/tms32031/tms32031.h b/src/devices/cpu/tms32031/tms32031.h index dc49c8b8ed1..b8f8c212a56 100644 --- a/src/devices/cpu/tms32031/tms32031.h +++ b/src/devices/cpu/tms32031/tms32031.h @@ -88,25 +88,6 @@ enum //************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_TMS3203X_MCBL(_mode) \ - downcast<tms3203x_device &>(*device).set_mcbl_mode(_mode); - -#define MCFG_TMS3203X_XF0_CB(_devcb) \ - downcast<tms3203x_device &>(*device).set_xf0_callback(DEVCB_##_devcb); - -#define MCFG_TMS3203X_XF1_CB(_devcb) \ - downcast<tms3203x_device &>(*device).set_xf1_callback(DEVCB_##_devcb); - -#define MCFG_TMS3203X_IACK_CB(_devcb) \ - downcast<tms3203x_device &>(*device).set_iack_callback(DEVCB_##_devcb); - -#define MCFG_TMS3203X_HOLDA_CB(_devcb) \ - downcast<tms3203x_device &>(*device).set_holda_callback(DEVCB_##_devcb); - -//************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -143,10 +124,6 @@ public: // inline configuration helpers void set_mcbl_mode(bool mode) { m_mcbl_mode = mode; } - template <class Object> devcb_base &set_xf0_callback(Object &&cb) { return m_xf0_cb.set_callback(std::forward<Object>(cb)); } - template <class Object> devcb_base &set_xf1_callback(Object &&cb) { return m_xf1_cb.set_callback(std::forward<Object>(cb)); } - template <class Object> devcb_base &set_iack_callback(Object &&cb) { return m_iack_cb.set_callback(std::forward<Object>(cb)); } - template <class Object> devcb_base &set_holda_callback(Object &&cb) { return m_holda_cb.set_callback(std::forward<Object>(cb)); } auto xf0() { return m_xf0_cb.bind(); } auto xf1() { return m_xf1_cb.bind(); } auto iack() { return m_iack_cb.bind(); } |