diff options
Diffstat (limited to 'src/mame/machine/cuda.h')
-rw-r--r-- | src/mame/machine/cuda.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/mame/machine/cuda.h b/src/mame/machine/cuda.h index 4c0e96f9f60..244f4da90f1 100644 --- a/src/mame/machine/cuda.h +++ b/src/mame/machine/cuda.h @@ -16,38 +16,6 @@ #define CUDA_341S0788 0x2200 // v2.37 (LC 475/575/Quadra 605, Quadra 660AV/840AV, PowerMac x200) #define CUDA_341S0417 0x3300 // v2.35 (Color Classic) -//************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_CUDA_ADD(_type) \ - MCFG_DEVICE_ADD(CUDA_TAG, CUDA, 0) \ - MCFG_CUDA_TYPE(_type) - -#define MCFG_CUDA_REPLACE(_type) \ - MCFG_DEVICE_REPLACE(CUDA_TAG, CUDA, 0) \ - MCFG_CUDA_TYPE(_type) - -#define MCFG_CUDA_REMOVE() \ - MCFG_DEVICE_REMOVE(CUDA_TAG) - -#define MCFG_CUDA_TYPE(_type) \ - downcast<cuda_device &>(*device).set_type(_type); - -#define MCFG_CUDA_REMOVE() \ - MCFG_DEVICE_REMOVE(CUDA_TAG) - -#define MCFG_CUDA_RESET_CALLBACK(_cb) \ - downcast<cuda_device &>(*device).set_reset_cb(DEVCB_##_cb); - -#define MCFG_CUDA_LINECHANGE_CALLBACK(_cb) \ - downcast<cuda_device &>(*device).set_linechange_cb(DEVCB_##_cb); - -#define MCFG_CUDA_VIA_CLOCK_CALLBACK(_cb) \ - downcast<cuda_device &>(*device).set_via_clock_cb(DEVCB_##_cb); - -#define MCFG_CUDA_VIA_DATA_CALLBACK(_cb) \ - downcast<cuda_device &>(*device).set_via_data_cb(DEVCB_##_cb); //************************************************************************** // TYPE DEFINITIONS @@ -102,10 +70,6 @@ public: int rom_offset; - template <class Object> devcb_base &set_reset_cb(Object &&wr) { return write_reset.set_callback(std::forward<Object>(wr)); } - template <class Object> devcb_base &set_linechange_cb(Object &&wr) { return write_linechange.set_callback(std::forward<Object>(wr)); } - template <class Object> devcb_base &set_via_clock_cb(Object &&wr) { return write_via_clock.set_callback(std::forward<Object>(wr)); } - template <class Object> devcb_base &set_via_data_cb(Object &&wr) { return write_via_data.set_callback(std::forward<Object>(wr)); } auto reset_callback() { return write_reset.bind(); } auto linechange_callback() { return write_linechange.bind(); } auto via_clock_callback() { return write_via_clock.bind(); } |