diff options
Diffstat (limited to 'src/mame/machine/namcos21_dsp.h')
-rw-r--r-- | src/mame/machine/namcos21_dsp.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/mame/machine/namcos21_dsp.h b/src/mame/machine/namcos21_dsp.h index 1c43b551e97..6432b41a29b 100644 --- a/src/mame/machine/namcos21_dsp.h +++ b/src/mame/machine/namcos21_dsp.h @@ -20,15 +20,15 @@ public: // config template <typename T> void set_renderer_tag(T &&tag) { m_renderer.set_tag(std::forward<T>(tag)); } - DECLARE_WRITE16_MEMBER(winrun_dspbios_w); - DECLARE_READ16_MEMBER(winrun_68k_dspcomram_r); - DECLARE_WRITE16_MEMBER(winrun_68k_dspcomram_w); - DECLARE_READ16_MEMBER(winrun_dspcomram_control_r); - DECLARE_WRITE16_MEMBER(winrun_dspcomram_control_w); + void winrun_dspbios_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); + uint16_t winrun_68k_dspcomram_r(offs_t offset); + void winrun_68k_dspcomram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); + uint16_t winrun_dspcomram_control_r(offs_t offset); + void winrun_dspcomram_control_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - DECLARE_WRITE16_MEMBER(pointram_control_w); - DECLARE_READ16_MEMBER(pointram_data_r); - DECLARE_WRITE16_MEMBER(pointram_data_w); + void pointram_control_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); + uint16_t pointram_data_r(); + void pointram_data_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); protected: // device-level overrides @@ -64,16 +64,16 @@ private: int m_poly_frame_width; int m_poly_frame_height; - DECLARE_READ16_MEMBER(winrun_cuskey_r); - DECLARE_WRITE16_MEMBER(winrun_cuskey_w); - DECLARE_READ16_MEMBER(winrun_dspcomram_r); - DECLARE_WRITE16_MEMBER(winrun_dspcomram_w); - DECLARE_READ16_MEMBER(winrun_table_r); - DECLARE_WRITE16_MEMBER(winrun_dsp_complete_w); - DECLARE_WRITE16_MEMBER(winrun_dsp_render_w); + uint16_t winrun_cuskey_r(); + void winrun_cuskey_w(uint16_t data); + uint16_t winrun_dspcomram_r(offs_t offset); + void winrun_dspcomram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); + uint16_t winrun_table_r(offs_t offset); + void winrun_dsp_complete_w(uint16_t data); + void winrun_dsp_render_w(uint16_t data); uint16_t winrun_poly_reset_r(); - DECLARE_WRITE16_MEMBER(winrun_dsp_pointrom_addr_w); - DECLARE_READ16_MEMBER(winrun_dsp_pointrom_data_r); + void winrun_dsp_pointrom_addr_w(offs_t offset, uint16_t data); + uint16_t winrun_dsp_pointrom_data_r(); TIMER_CALLBACK_MEMBER(suspend_callback); emu_timer *m_suspend_timer; |